Skip to content

Commit 32daca5

Browse files
committed
Updated tests for the parallel pytest with xdist.
1 parent 8efd8a3 commit 32daca5

File tree

727 files changed

+1039
-742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

727 files changed

+1039
-742
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ clean:
1515
make clean -C ./tests
1616
make clean -C ./examples_obsolete
1717
make clean -C ./tests_obsolete
18-
rm -rf *.egg-info build dist *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
18+
rm -rf *.egg-info build dist *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v *.vcd
1919

2020
#.PHONY: release
2121
#release:

hello_led.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@
6666
" clk = uut['CLK']\n",
6767
" rst = uut['RST']\n",
6868
"\n",
69-
" simulation.setup_waveform(m, uut, m.get_vars())\n",
69+
" vcd_name = os.path.splitext(os.path.basename(__file__))[0] + '.vcd'\n",
70+
" simulation.setup_waveform(m, uut, m.get_vars(), dumpfile=vcd_name)\n",
7071
" simulation.setup_clock(m, clk, hperiod=5)\n",
7172
" init = simulation.setup_reset(m, rst, m.make_reset(), period=100)\n",
7273
"\n",

hello_led.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ def mkTest():
4242
clk = uut['CLK']
4343
rst = uut['RST']
4444

45-
simulation.setup_waveform(m, uut, m.get_vars())
45+
vcd_name = os.path.splitext(os.path.basename(__file__))[0] + '.vcd'
46+
simulation.setup_waveform(m, uut, m.get_vars(), dumpfile=vcd_name)
4647
simulation.setup_clock(m, clk, hperiod=5)
4748
init = simulation.setup_reset(m, rst, m.make_reset(), period=100)
4849

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ run:
1414

1515
.PHONY: clean
1616
clean:
17-
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
17+
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v *.vcd
1818
find . -maxdepth 1 -type d | grep "./" | xargs -I {} make clean -C {}

tests/core/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ run:
1414

1515
.PHONY: clean
1616
clean:
17-
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
17+
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v *.vcd
1818
find . -maxdepth 1 -type d | grep "./" | xargs -I {} make clean -C {}

tests/core/_class/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ check:
2626

2727
.PHONY: clean
2828
clean:
29-
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
29+
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v *.vcd

tests/core/_elif/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ check:
2626

2727
.PHONY: clean
2828
clean:
29-
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
29+
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v *.vcd

tests/core/_for/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ check:
2626

2727
.PHONY: clean
2828
clean:
29-
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
29+
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v *.vcd

tests/core/_function/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ check:
2626

2727
.PHONY: clean
2828
clean:
29-
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
29+
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v *.vcd

tests/core/_int/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ check:
2626

2727
.PHONY: clean
2828
clean:
29-
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
29+
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v *.vcd

0 commit comments

Comments
 (0)