On Jul 12, 2012, at 3:52 AM, Di Pe wrote:
Hi,
I checked out a brand new galaxy-dist to galaxy-runtest
I noticed that in order to run it one needs to bootstrap some of the sample files.
galaxdev@galaxy1:~/galaxy-runtest$ cp tool_data_table_conf.xml.sample tool_data_table_conf.xml galaxdev@galaxy1:~/galaxy-runtest$ cp datatypes_conf.xml.sample datatypes_conf.xml galaxdev@galaxy1:~/galaxy-runtest$ cp migrated_tools_conf.xml.sample migrated_tools_conf.xml
galaxdev@galaxy1:~/galaxy-runtest$ ./run_functional_tests.sh
checking how many successes and errors we get :
petersen@lamprey:~$ grep -c "Status:</span> success" /home/galaxdev/galaxy-runtest/run_functional_tests.html 138
petersen@lamprey:~$ grep -c "Status:</span> error" /home/galaxdev/galaxy-runtest/run_functional_tests.html 587
the first 20ish tests work but then I am getting the error below. Is this normal?
thanks dipe
Hi, The functional tests, especially for tools, won't work unless you've installed all of the tool dependencies. However, this error (regarding hg17) can most likely be fixed by copying the UCSC build.txt sample: cp tool-data/shared/ucsc/builds.txt.sample tool-data/shared/ucsc/builds.txt --nate
functional.test_get_data.UploadData.test_0010_upload_file
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 327, in run testMethod()
File "/home/galaxdev/galaxy-runtest/test/functional/test_get_data.py", line 36, in test_0010_upload_file self.upload_file( '4.bed.gz', dbkey='hg17', ftype='bed' )
File "/home/galaxdev/galaxy-runtest/test/base/twilltestcase.py", line 194, in upload_file tc.fv("1","dbkey", dbkey)
File "/home/galaxdev/galaxy-runtest/eggs/twill-0.9-py2.7.egg/twill/commands.py", line 450, in formvalue set_form_control_value(control, value)
File "/home/galaxdev/galaxy-runtest/eggs/twill-0.9-py2.7.egg/twill/utils.py", line 190, in set_form_control_value raise ClientForm.ItemNotFoundError('cannot find value/label "%s" in list control' % (val,))
ItemNotFoundError: cannot find value/label "hg17" in list control -------------------- >> begin captured stdout << --------------------- ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: