Skip to content

Commit 927c711

Browse files
committed
test scripts are added.
1 parent 494d31d commit 927c711

File tree

4 files changed

+67
-0
lines changed

4 files changed

+67
-0
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ recursive-include utils *
88
recursive-include examples *
99
recursive-include tests *
1010
recursive-include img *
11+
recursive-include scripts *

scripts/test-2.7.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
mkdir 2.7
2+
cd 2.7
3+
virtualenv --python=python .
4+
source bin/activate
5+
git clone https://github.com/PyHDI/veriloggen.git
6+
cd veriloggen
7+
python setup.py install
8+
pip install pytest pytest-pythonpath
9+
mv veriloggen veriloggen.old
10+
cd tests
11+
make test PYTHON=python
12+
make clean
13+
make run PYTHON=python
14+
cd ..
15+
cd examples
16+
make test PYTHON=python
17+
make clean
18+
make run PYTHON=python
19+
cd ..
20+
mv veriloggen.old veriloggen
21+
cd ..
22+
cd ..

scripts/test-3.4.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
mkdir 3.4
2+
cd 3.4
3+
virtualenv --python=python3 .
4+
source bin/activate
5+
git clone https://github.com/PyHDI/veriloggen.git
6+
cd veriloggen
7+
python3 setup.py install
8+
pip install pytest pytest-pythonpath
9+
mv veriloggen veriloggen.old
10+
cd tests
11+
make test
12+
make clean
13+
make run
14+
cd ..
15+
cd examples
16+
make test
17+
make clean
18+
make run
19+
cd ..
20+
mv veriloggen.old veriloggen
21+
cd ..
22+
cd ..

scripts/test-3.5.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
mkdir 3.5
2+
cd 3.5
3+
virtualenv --python=python3 .
4+
source bin/activate
5+
git clone https://github.com/PyHDI/veriloggen.git
6+
cd veriloggen
7+
python3 setup.py install
8+
pip install pytest pytest-pythonpath
9+
mv veriloggen veriloggen.old
10+
cd tests
11+
make test
12+
make clean
13+
make run
14+
cd ..
15+
cd examples
16+
make test
17+
make clean
18+
make run
19+
cd ..
20+
mv veriloggen.old veriloggen
21+
cd ..
22+
cd ..

0 commit comments

Comments
 (0)