diff --git a/apps/blas/axpy/test.expect b/apps/blas/axpy/test.expect deleted file mode 100644 index 69a09413..00000000 --- a/apps/blas/axpy/test.expect +++ /dev/null @@ -1 +0,0 @@ -{"out": {"0": [55477], "1": [29767], "2": [13676], "3": [43209], "4": [51168]}} \ No newline at end of file diff --git a/apps/blas/axpy/test.fil.data b/apps/blas/axpy/test.fil.data deleted file mode 100644 index 43d044b9..00000000 --- a/apps/blas/axpy/test.fil.data +++ /dev/null @@ -1 +0,0 @@ -{"a": [9, 8, 3, 0, 14], "x": [63585, 12077, 39822, 45206, 1939], "y": [24668, 31823, 34018, 43209, 50438]} \ No newline at end of file diff --git a/apps/blas/axpy/test.fil.out b/apps/blas/axpy/test.fil.out deleted file mode 100644 index 69a09413..00000000 --- a/apps/blas/axpy/test.fil.out +++ /dev/null @@ -1 +0,0 @@ -{"out": {"0": [55477], "1": [29767], "2": [13676], "3": [43209], "4": [51168]}} \ No newline at end of file diff --git a/apps/blas/dot/test.expect b/apps/blas/dot/test.expect deleted file mode 100644 index c4211f03..00000000 --- a/apps/blas/dot/test.expect +++ /dev/null @@ -1 +0,0 @@ -{"out": {"0": [13], "1": [4], "2": [14], "3": [5], "4": [3]}} \ No newline at end of file diff --git a/apps/blas/dot/test.fil.data b/apps/blas/dot/test.fil.data deleted file mode 100644 index d70f9cce..00000000 --- a/apps/blas/dot/test.fil.data +++ /dev/null @@ -1 +0,0 @@ -{"x": [31179, 4179, 62432, 25380, 6570], "y": [27118, 15602, 50893, 54070, 45748]} \ No newline at end of file diff --git a/apps/blas/dot/test.fil.out b/apps/blas/dot/test.fil.out deleted file mode 100644 index c4211f03..00000000 --- a/apps/blas/dot/test.fil.out +++ /dev/null @@ -1 +0,0 @@ -{"out": {"0": [13], "1": [4], "2": [14], "3": [5], "4": [3]}} \ No newline at end of file diff --git a/apps/blas/rot/test.expect b/apps/blas/rot/test.expect deleted file mode 100644 index bcd55b77..00000000 --- a/apps/blas/rot/test.expect +++ /dev/null @@ -1 +0,0 @@ -{"out_1": {"0": [49734], "1": [2318], "2": [17540], "3": [58199], "4": [48984]}, "out_2": {"0": [42222], "1": [49478], "2": [32772], "3": [34161], "4": [26950]}} \ No newline at end of file diff --git a/apps/blas/rot/test.fil.data b/apps/blas/rot/test.fil.data deleted file mode 100644 index 5dd8e596..00000000 --- a/apps/blas/rot/test.fil.data +++ /dev/null @@ -1 +0,0 @@ -{"c": [4, 3, 0, 1, 15], "s": [6, 1, 12, 9, 8], "x": [39989, 43490, 27713, 45887, 22968], "y": [19403, 11880, 47919, 45096, 12106]} \ No newline at end of file diff --git a/apps/blas/rot/test.fil.out b/apps/blas/rot/test.fil.out deleted file mode 100644 index bcd55b77..00000000 --- a/apps/blas/rot/test.fil.out +++ /dev/null @@ -1 +0,0 @@ -{"out_1": {"0": [49734], "1": [2318], "2": [17540], "3": [58199], "4": [48984]}, "out_2": {"0": [42222], "1": [49478], "2": [32772], "3": [34161], "4": [26950]}} \ No newline at end of file diff --git a/apps/blas/scal/test.expect b/apps/blas/scal/test.expect deleted file mode 100644 index c591addd..00000000 --- a/apps/blas/scal/test.expect +++ /dev/null @@ -1 +0,0 @@ -{"out": {"0": [217], "1": [110], "2": [19], "3": [36], "4": [27]}} \ No newline at end of file diff --git a/apps/blas/scal/test.fil.data b/apps/blas/scal/test.fil.data deleted file mode 100644 index 95788a38..00000000 --- a/apps/blas/scal/test.fil.data +++ /dev/null @@ -1 +0,0 @@ -{"x": [81, 115, 95, 154, 49], "a": [9, 10, 13, 2, 11]} \ No newline at end of file diff --git a/apps/blas/scal/test.fil.out b/apps/blas/scal/test.fil.out deleted file mode 100644 index c591addd..00000000 --- a/apps/blas/scal/test.fil.out +++ /dev/null @@ -1 +0,0 @@ -{"out": {"0": [217], "1": [110], "2": [19], "3": [36], "4": [27]}} \ No newline at end of file diff --git a/apps/blas/syr/test.expect b/apps/blas/syr/test.expect deleted file mode 100644 index 36e69e04..00000000 --- a/apps/blas/syr/test.expect +++ /dev/null @@ -1 +0,0 @@ -{"A_out": {"0": [20935], "1": [24244], "2": [47932], "3": [53752], "4": [29227]}} \ No newline at end of file diff --git a/apps/blas/syr/test.fil.data b/apps/blas/syr/test.fil.data deleted file mode 100644 index c6d33e5f..00000000 --- a/apps/blas/syr/test.fil.data +++ /dev/null @@ -1 +0,0 @@ -{"alpha": [14, 0, 12, 3, 6], "x": [195, 66, 42, 171, 236], "A": [22857, 24244, 47932, 5981, 61995]} \ No newline at end of file diff --git a/apps/blas/syr/test.fil.out b/apps/blas/syr/test.fil.out deleted file mode 100644 index 36e69e04..00000000 --- a/apps/blas/syr/test.fil.out +++ /dev/null @@ -1 +0,0 @@ -{"A_out": {"0": [20935], "1": [24244], "2": [47932], "3": [53752], "4": [29227]}} \ No newline at end of file diff --git a/apps/blas/util.py b/apps/blas/util.py index 3af9de5a..c50f0f3f 100644 --- a/apps/blas/util.py +++ b/apps/blas/util.py @@ -225,9 +225,6 @@ def main(): if (fud_out != expected_cmp): print(f"expected {expected_cmp} but got {fud_out}\n") - sys.exit(1) - else: - sys.exit(0) if __name__ == "__main__": diff --git a/runt.toml b/runt.toml index c51c1f76..8116e30c 100644 --- a/runt.toml +++ b/runt.toml @@ -124,7 +124,9 @@ name = "blas" paths = ["apps/blas/*/test.fil"] expect_dir = "apps/blas/" cmd = """ -python apps/blas/util.py -r -n 5 -w 4 -k {} +python apps/blas/util.py -r -n 5 -w 4 -k {} && \ +dir=$(dirname {}) && \ +rm $dir/test.expect $dir/test.fil.data $dir/test.fil.out """ # ============== Examples in the documentation ============