Difference between revisions of "Installation test"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | == Run the test suite == | ||
+ | Always perform a test-suite run, when you have updated relax, or installed | ||
+ | <source lang="bash"> | ||
+ | relax -s -l system-tests.log | ||
+ | relax -u -l unit-tests.log | ||
+ | relax -x -l test-suite.log | ||
+ | relax --help | ||
+ | </source> | ||
+ | |||
== wxPython test == | == wxPython test == | ||
[http://thread.gmane.org/gmane.science.nmr.relax.devel/3942 See messages at mailing list] | [http://thread.gmane.org/gmane.science.nmr.relax.devel/3942 See messages at mailing list] | ||
Line 31: | Line 40: | ||
d=graphics.IMAGE_PATH; print d,os.path.exists(d);os.listdir(d) | d=graphics.IMAGE_PATH; print d,os.path.exists(d);os.listdir(d) | ||
e=graphics.fetch_icon("relax.noe", size="16x16") | e=graphics.fetch_icon("relax.noe", size="16x16") | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</source> | </source> | ||
== See also == | == See also == | ||
[[Category:Installation]] | [[Category:Installation]] |
Revision as of 11:44, 20 June 2013
Run the test suite
Always perform a test-suite run, when you have updated relax, or installed
relax -s -l system-tests.log
relax -u -l unit-tests.log
relax -x -l test-suite.log
relax --help
wxPython test
Downloaded wxPython demo from: http://www.wxpython.org/download.php
Source Code and Other Tarballs
python2.7 wxPython-2.8.12.1/demo/demo.py
- first run the demo.py file,
- go to the "Core Windows/Controls",
- select "Menu",
- go to the "Demo" tab,
- click on "Show the Menu sample",
- in the new window, click on the "Fun" menu,
- check that you see a smiley face in the first menu entry.
If there is no smiley face, then the problem is in wxPython.
Otherwise there is a problem with relax and the setup you have.
Also when you run relax from the terminal, do you see any wxPython errormessages? Or GTK+ errors?
Do you see any errors if you use the --debug command line option when running relax?
Other tests
Write in relax prompt, to check
import os, graphics
a=graphics.status.install_path; print a,os.path.exists(a);os.listdir(a)
b=graphics.ANALYSIS_IMAGE_PATH; print b,os.path.exists(b);os.listdir(b)
c=graphics.WIZARD_IMAGE_PATH; print c,os.path.exists(c);os.listdir(c)
d=graphics.IMAGE_PATH; print d,os.path.exists(d);os.listdir(d)
e=graphics.fetch_icon("relax.noe", size="16x16")