Skip to content

Commit d254187

Browse files
committed
Test scripts are updated.
1 parent 4ed28e0 commit d254187

File tree

5 files changed

+11
-23
lines changed

5 files changed

+11
-23
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ install:
1010
- pip install jinja2 pytest pytest-pythonpath
1111

1212
script:
13-
- python -m pytest .
13+
- python -m pytest tests

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ all: clean
66

77
.PHONY: test
88
test:
9-
$(PYTHON) -m pytest -vv
9+
$(PYTHON) -m pytest -vv tests
1010

1111
.PHONY: clean
1212
clean:

scripts/test-2.7.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@ cd Pyverilog
1010
python setup.py install
1111
pip install pytest pytest-pythonpath
1212
mv pyverilog pyverilog.old
13-
cd examples
14-
make PYTHON=python
15-
make clean
16-
cd ..
17-
cd tests
18-
make test PYTHON=python
19-
cd ..
13+
make -C examples PYTHON=python
14+
make clean -C examples
15+
make test -C tests PYTHON=python
2016
mv pyverilog.old pyverilog
2117
cd ..
2218
deactivate

scripts/test-3.4.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@ cd Pyverilog
1010
python3 setup.py install
1111
pip install pytest pytest-pythonpath
1212
mv pyverilog pyverilog.old
13-
cd examples
14-
make
15-
make clean
16-
cd ..
17-
cd tests
18-
make test
19-
cd ..
13+
make -C examples
14+
make clean -C examples
15+
make test -C tests
2016
mv pyverilog.old pyverilog
2117
cd ..
2218
deactivate

scripts/test-3.5.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@ cd Pyverilog
1010
python3 setup.py install
1111
pip install pytest pytest-pythonpath
1212
mv pyverilog pyverilog.old
13-
cd examples
14-
make
15-
make clean
16-
cd ..
17-
cd tests
18-
make test
19-
cd ..
13+
make -C examples
14+
make clean -C examples
15+
make test -C tests
2016
mv pyverilog.old pyverilog
2117
cd ..
2218
deactivate

0 commit comments

Comments
 (0)