File: zipfiletest.sh

package info (click to toggle)
python-escript 5.6-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144,304 kB
  • sloc: python: 592,074; cpp: 136,909; ansic: 18,675; javascript: 9,411; xml: 3,384; sh: 738; makefile: 207
file content (27 lines) | stat: -rwxr-xr-x 632 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

# This script is for testing if the bundled source and test files can
# be unzipped to form an installation of escript. 

# This is the testing directoryi - set to an appropriate destination.
export SANDBOX="$HOME/sandbox"

# ESYS_ROOT should be set by the environment already.

cd $ESYS_ROOT
# make the tarballs via the 'release' target in scons
scons release

# move to the test area, and remove anything there.
cd $SANDBOX
rm -rf *

# copy over the tarballs for testing
cp $ESYS_ROOT/release/*.tar.gz .

# untar and run scons commands
tar -xzvf escript_src.tar.gz
scons
tar -xzvf escript_tests.tar.gz
scons all_tests