source: pyutilib.virtualenv/trunk/tests/README.txt @ 1582

Revision 1582, 3.5 KB checked in by wehart, 4 years ago (diff)

Removed support for the '--forum' options, which are
Coopr-specific.

Line 
1NOTE:  It's somewhat difficult to validate the behavior of the vpy_install script,
2so the following tests describe checks that need to be performed manually.
3
4UNIX
5
61. ../scripts/vpy_install
7
8. Creates a ./python directory
9. No source in python/src
10. Installs setuptools (e.g. python/bin/easy_install exists)
11
12
132. ../scripts/vpy_install --trunk
14
15. SAME AS 1
16
17
183.  lbin ../scripts/vpy_install --preinstall
19
20. The directory python/dist/setuptools exists
21. The directory python/lib does not exist
22. The directory python/src is empty
23. The file python/python.zip exists and contains the entire directory tree
24
25
264. ../scripts/vpy_install --offline --zip python/python.zip foo
27
28NOTE: this uses the ZIP file generated in (3).
29
30. Verify that this generates the same results as (1) by installing in a separate
31  directory and then diff'ing:
32
33  ../scripts/vpy_install bar
34  diff -r -x '*pyc' -x '*svn*' -x '*egg' foo bar
35
36
375. ../scripts/vpy_install --config test5.ini
38   ../scripts/vpy_install --config test5.ini --trunk foo
39
40. Verify that pyutilib.th is checked out in the python/dist and foo/dist directories
41. Verify that pyutilib.enum is checked out in the python/src and foo/src directories
42. Verify that tevaspot is checked out in the python/src and foo/src directories
43. Verify differences using
44
45  diff -w -x '.*svn' -r foo python | grep '^diff'
46
47  . */dist/pyutilib.th/CHANGELOG.txt differs
48  . */src/pyutilib.enum/CHANGELOG.txt differs
49
50. Verify that the only complete differences are build, dist, *egg or *link files:
51
52  diff -w -x '.*svn' -r foo python | grep '^Only'
53
54. Verify that */dist/pyutilib.th contains build and dist directories for both
55
56. Verify that neither *src/pyutilib.enum directory contains build and dist directories
57
58. Verify that */doc exists
59
60
616. ../scripts/vpy_install --config test5.ini
62   ../scripts/vpy_install --update
63
64. Verify that easy_install upgrades nose
65. Verify that the other packages are updated with subversion
66. Verify that pyutilib.enum and tevaspot are installed with 'develop'
67. Verify that pyutilib.th is installed with 'install'
68
69
707. ../scripts/vpy_install --config test5.ini dummy
71   ../scripts/vpy_install --update
72
73. Verify that this gives an error because the directory 'python' does
74  not exist.
75
76
778. ../scripts/vpy_install --config test5.ini dummy
78   ../scripts/vpy_install --update dummy
79
80. Verify that easy_install upgrades nose
81. Verify that the other packages are updated with subversion
82. Verify that pyutilib.enum and tevaspot are installed with 'develop'
83. Verify that pyutilib.th is installed with 'install'
84
85
869. ../scripts/vpy_install --config test5.ini --trunk
87   ../scripts/vpy_install --update
88
89. Verify that easy_install upgrades nose
90. Verify that the other packages are updated with subversion
91. Verify that pyutilib.enum and tevaspot are installed with 'develop'
92. Verify that pyutilib.th is installed with 'install'
93
94
9510. ../scripts/vpy_install --config test5.ini --localize
96    ../scripts/vpy_install --localize --update
97
98. Verify that the CMD files are localized after installation.
99. Verify that the CMD files are localized after update.
100
101
10211. setenv SSG_USERNAME foobar
103    ../scripts/vpy_install --config test5.ini
104
105. Verify that pyutilib.plugin.core is checked out in python/src
106. Verify that the 'foobar' user does not have commit priviledges
107
108
10912. lbin ../scripts/vpy_install --preinstall --config test5.ini foo
110    unsetenv HTTP_PROXY
111    ../scripts/vpy_install --offline --zip foo/python.zip --config test5.ini bar
112
113. Confirm that offline the installation works correctly without
114  the HTTP_PROXY set.
Note: See TracBrowser for help on using the repository browser.