Skip to content

Commit 592c46b

Browse files
committed
Updated tests_obsolete for the parallel pytest with xdist.
1 parent b25e19c commit 592c46b

File tree

219 files changed

+291
-219
lines changed

Some content is hidden

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

219 files changed

+291
-219
lines changed

tests_obsolete/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_obsolete/extension/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_obsolete/extension/dataflow_/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_obsolete/extension/dataflow_/_abs/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_obsolete/extension/dataflow_/_abs/dataflow__abs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ def mkTest():
6666
reset_stmt.append(yvalid(0))
6767
reset_stmt.append(zready(0))
6868

69-
simulation.setup_waveform(m, uut)
69+
vcd_name = os.path.splitext(os.path.basename(__file__))[0] + '.vcd'
70+
simulation.setup_waveform(m, uut, dumpfile=vcd_name)
7071
simulation.setup_clock(m, clk, hperiod=5)
7172
init = simulation.setup_reset(m, rst, reset_stmt, period=100)
7273

tests_obsolete/extension/dataflow_/_abs/test_dataflow__abs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
reg reset_done;
4242
4343
initial begin
44-
$dumpfile("uut.vcd");
44+
$dumpfile("dataflow__abs.vcd");
4545
$dumpvars(0, uut);
4646
end
4747

tests_obsolete/extension/dataflow_/_iter/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_obsolete/extension/dataflow_/_iter/dataflow__iter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def mkTest():
7777
reset_stmt.append(yvalid(0))
7878
reset_stmt.append(zready(0))
7979

80-
simulation.setup_waveform(m, uut)
80+
vcd_name = os.path.splitext(os.path.basename(__file__))[0] + '.vcd'
81+
simulation.setup_waveform(m, uut, dumpfile=vcd_name)
8182
simulation.setup_clock(m, clk, hperiod=5)
8283
init = simulation.setup_reset(m, rst, reset_stmt, period=100)
8384

tests_obsolete/extension/dataflow_/_iter/test_dataflow__iter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
reg reset_done;
4242
4343
initial begin
44-
$dumpfile("uut.vcd");
44+
$dumpfile("dataflow__iter.vcd");
4545
$dumpvars(0, uut);
4646
end
4747

tests_obsolete/extension/dataflow_/_slice/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)