From e1f90c366e12b3441d9d916f0258bd41133d16c8 Mon Sep 17 00:00:00 2001 From: Lenny Truong Date: Wed, 25 Sep 2019 15:47:30 -0700 Subject: [PATCH] Update results script --- scripts/collect_results.sh | 18 +++++++++--------- tests/test_counter.py | 3 ++- tests/test_detect.py | 3 ++- tests/test_fifo.py | 3 ++- tests/test_lbmem.py | 3 ++- tests/test_piso.py | 3 ++- tests/test_serializer.py | 3 ++- tests/test_tap.py | 3 ++- tests/test_tff.py | 3 ++- tests/test_uart.py | 3 ++- 10 files changed, 27 insertions(+), 18 deletions(-) diff --git a/scripts/collect_results.sh b/scripts/collect_results.sh index 59a7849..1ae5d04 100755 --- a/scripts/collect_results.sh +++ b/scripts/collect_results.sh @@ -1,12 +1,12 @@ #!/bin/bash -python tests/test_tff.py -python tests/test_counter.py -python tests/test_piso.py -python tests/test_detect.py -python tests/test_serializer.py -python tests/test_fifo.py -python tests/test_uart.py -python tests/test_lbmem.py -python tests/test_tap.py +python tests/test_tff.py by_path +python tests/test_counter.py by_path +python tests/test_piso.py by_path +python tests/test_detect.py by_path +python tests/test_serializer.py by_path +python tests/test_fifo.py by_path +python tests/test_uart.py by_path +python tests/test_lbmem.py by_path +python tests/test_tap.py by_path diff --git a/tests/test_counter.py b/tests/test_counter.py index b0a6453..df0430a 100644 --- a/tests/test_counter.py +++ b/tests/test_counter.py @@ -64,4 +64,5 @@ def test_counter(strategy): if __name__ == '__main__': - test_counter() + import sys + test_counter(sys.argv[1]) diff --git a/tests/test_detect.py b/tests/test_detect.py index 95b68f4..0e07df5 100644 --- a/tests/test_detect.py +++ b/tests/test_detect.py @@ -71,4 +71,5 @@ def test_detect111(strategy): if __name__ == '__main__': - test_detect111() + import sys + test_detect111(sys.argv[1]) diff --git a/tests/test_fifo.py b/tests/test_fifo.py index b97351e..3e72cf8 100644 --- a/tests/test_fifo.py +++ b/tests/test_fifo.py @@ -172,4 +172,5 @@ def test_fifo(strategy): if __name__ == "__main__": - test_fifo() + import sys + test_fifo(sys.argv[1]) diff --git a/tests/test_lbmem.py b/tests/test_lbmem.py index 22c4037..40e9e5f 100644 --- a/tests/test_lbmem.py +++ b/tests/test_lbmem.py @@ -246,7 +246,8 @@ def test_lbmem(strategy): if __name__ == "__main__": - test_lbmem() + import sys + test_lbmem(sys.argv[1]) """ diff --git a/tests/test_piso.py b/tests/test_piso.py index a3505ee..32e9dcb 100644 --- a/tests/test_piso.py +++ b/tests/test_piso.py @@ -130,4 +130,5 @@ def mux2(y): if __name__ == '__main__': - test_PISO() + import sys + test_PISO(sys.argv[1]) diff --git a/tests/test_serializer.py b/tests/test_serializer.py index 16866e7..7eccc98 100644 --- a/tests/test_serializer.py +++ b/tests/test_serializer.py @@ -97,4 +97,5 @@ def test_ser4(strategy): if __name__ == '__main__': - test_ser4() + import sys + test_ser4(sys.argv[1]) diff --git a/tests/test_tap.py b/tests/test_tap.py index 43c3b77..a5bf487 100644 --- a/tests/test_tap.py +++ b/tests/test_tap.py @@ -226,4 +226,5 @@ def test_tap(strategy): if __name__ == '__main__': - test_tap() + import sys + test_tap(sys.argv[1]) diff --git a/tests/test_tff.py b/tests/test_tff.py index 7d1026d..9f0a1a6 100644 --- a/tests/test_tff.py +++ b/tests/test_tff.py @@ -74,4 +74,5 @@ def definition(io): print("===== END : MANTLE RESULTS =====") if __name__ == '__main__': - test_TFF() + import sys + test_TFF(sys.argv[1]) diff --git a/tests/test_uart.py b/tests/test_uart.py index 37c04aa..043f40d 100644 --- a/tests/test_uart.py +++ b/tests/test_uart.py @@ -106,4 +106,5 @@ def test_UART(strategy): if __name__ == '__main__': - test_UART() + import sys + test_UART(sys.argv[1])