hudon / spike

Brain Simulator Parallelization
http://nengo.ca/
1 stars 1 forks source link

add support for probes #32

Closed gretac closed 11 years ago

gretac commented 11 years ago
hudon commented 11 years ago

tests are failing because of matplotlib:

/bin/bash test/run-tests.sh

Computing output from command '/home/travis/virtualenv/python2.7/bin/python2 /home/travis/build/Hudon/spike/test/nengo_tests/test_array.py /home/travis/build/Hudon/spike/test/../src target'...Traceback (most recent call last):

File "/home/travis/build/Hudon/spike/test/nengo_tests/test_array.py", line 7, in <module>

import matplotlib.pyplot as plt

ImportError: No module named matplotlib.pyplot

Took 0 seconds.

Computing output from command '/home/travis/virtualenv/python2.7/bin/python2 /home/travis/build/Hudon/spike/test/nengo_tests/test_array.py /home/travis/build/Hudon/spike/test/../examples/new-theano'...Traceback (most recent call last):

File "/home/travis/build/Hudon/spike/test/nengo_tests/test_array.py", line 7, in <module>

import matplotlib.pyplot as plt

ImportError: No module named matplotlib.pyplot

Took 0 seconds.

INFO: All Tests Passed.

Computing output from command '/home/travis/virtualenv/python2.7/bin/python2 /home/travis/build/Hudon/spike/test/nengo_tests/test_radius.py /home/travis/build/Hudon/spike/test/../src target'...Traceback (most recent call last):

File "/home/travis/build/Hudon/spike/test/nengo_tests/test_radius.py", line 13, in <module>

import matplotlib.pyplot as plt

ImportError: No module named matplotlib.pyplot

Took 0 seconds.

Computing output from command '/home/travis/virtualenv/python2.7/bin/python2 /home/travis/build/Hudon/spike/test/nengo_tests/test_radius.py /home/travis/build/Hudon/spike/test/../examples/new-theano'...Traceback (most recent call last):

File "/home/travis/build/Hudon/spike/test/nengo_tests/test_radius.py", line 13, in <module>

import matplotlib.pyplot as plt

ImportError: No module named matplotlib.pyplot

Took 0 seconds.

INFO: All Tests Passed.

The command "make test" exited with 0.

Done. Your build exited with 0.
hudon commented 11 years ago

we should be able to toggle showing plots or not...or else Travis will run the matplotlib stuff all the time

gretac commented 11 years ago

I will comment out the probe result plotting and instead just print the recorded values for the Travis automated tests. We want to be able to compare the numbers that are recorded and ensure they are identical in our automated tests. However, the plotting will be left in the files commented in case we are doing manual testing during development and want to look at the graphs to see approximate results.

hudon commented 11 years ago

travis will fail on this because we're waiting on #37, but make test passes on my machine

hudon commented 11 years ago

+1