Move tests/techmap/abc9 to simple_abc9
authorEddie Hung <eddieh@ece.ubc.ca>
Wed, 20 Feb 2019 23:34:59 +0000 (15:34 -0800)
committerEddie Hung <eddieh@ece.ubc.ca>
Wed, 20 Feb 2019 23:34:59 +0000 (15:34 -0800)
tests/simple_abc9/abc9.v [new file with mode: 0644]
tests/techmap/abc9/abc9.v [deleted file]
tests/techmap/abc9/abc9_runtest.sh [deleted file]
tests/techmap/abc9/run-test.sh [deleted file]
tests/techmap/run-test.sh

diff --git a/tests/simple_abc9/abc9.v b/tests/simple_abc9/abc9.v
new file mode 100644 (file)
index 0000000..2d9aea3
--- /dev/null
@@ -0,0 +1,6 @@
+module top(input [1:0] a, output [1:0] b, output c, output d, output e);
+assign b = a;
+assign c = ^a;
+assign d = ~c;
+assign e = d;
+endmodule
diff --git a/tests/techmap/abc9/abc9.v b/tests/techmap/abc9/abc9.v
deleted file mode 100644 (file)
index 2d9aea3..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-module top(input [1:0] a, output [1:0] b, output c, output d, output e);
-assign b = a;
-assign c = ^a;
-assign d = ~c;
-assign e = d;
-endmodule
diff --git a/tests/techmap/abc9/abc9_runtest.sh b/tests/techmap/abc9/abc9_runtest.sh
deleted file mode 100644 (file)
index 2deaad7..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-set -ev
-
-../../../yosys -p 'abc9 -lut 4; check; select -assert-count 2 t:$lut; select -assert-none c:* t:$lut %n %i' abc9.v
diff --git a/tests/techmap/abc9/run-test.sh b/tests/techmap/abc9/run-test.sh
deleted file mode 100755 (executable)
index e2fc11e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-set -e
-for x in *_runtest.sh; do
-       echo "Running $x.."
-       if ! bash $x &> ${x%.sh}.log; then
-               tail ${x%.sh}.log
-               echo ERROR
-               exit 1
-       fi
-done
index 129451e08c2db9e935c886f73af9ee3b4b1a385b..e2fc11e528724075d6ad4db36f0f95793fa9bbe0 100755 (executable)
@@ -8,11 +8,3 @@ for x in *_runtest.sh; do
                exit 1
        fi
 done
-
-for d in */; do
-    if [ -x $d/run-test.sh ]; then
-        cd $d
-        bash run-test.sh
-        cd ..
-    fi
-done