Parent Directory
|
Revision Log
Adding a release tools directory, and a script that builds the source and test release files, copies them to a sandbox area, untars them, and checks if scons and scons all_tests work.
1 | #!/bin/sh |
2 | |
3 | # This script is for testing if the bundled source and test files can |
4 | # be unzipped to form an installation of escript. |
5 | |
6 | # This is the testing directoryi - set to an appropriate destination. |
7 | export SANDBOX="$HOME/sandbox" |
8 | |
9 | # ESYS_ROOT should be set by the environment already. |
10 | |
11 | cd $ESYS_ROOT |
12 | # make the tarballs via the 'release' target in scons |
13 | scons release |
14 | |
15 | # move to the test area, and remove anything there. |
16 | cd $SANDBOX |
17 | rm -rf * |
18 | |
19 | # copy over the tarballs for testing |
20 | cp $ESYS_ROOT/release/*.tar.gz . |
21 | |
22 | # untar and run scons commands |
23 | tar -xzvf escript_src.tar.gz |
24 | scons |
25 | tar -xzvf escript_tests.tar.gz |
26 | scons all_tests |
27 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |