aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-05-04 23:05:50 +0900
committernsfisis <nsfisis@gmail.com>2025-05-04 23:05:50 +0900
commitdad74f4d1e786f7dcfcc4b1bc93928b959aaa287 (patch)
tree37a45570467de5652acab4e97ad8be527e196dc7 /tests
parent1cc373ebe04686d1b577f1b95859e2858f4a6663 (diff)
downloadP4Dcc-dad74f4d1e786f7dcfcc4b1bc93928b959aaa287.tar.gz
P4Dcc-dad74f4d1e786f7dcfcc4b1bc93928b959aaa287.tar.zst
P4Dcc-dad74f4d1e786f7dcfcc4b1bc93928b959aaa287.zip
add tests for 2nd gen compiler
Diffstat (limited to 'tests')
-rw-r--r--tests/all.sh2
-rw-r--r--tests/run.sh2
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/all.sh b/tests/all.sh
index 4ff3688..70776cf 100644
--- a/tests/all.sh
+++ b/tests/all.sh
@@ -1,7 +1,5 @@
set -e
-export p4dcc="../../../p4dcc"
-
rm -rf tests/tmp
mkdir -p tests/tmp
for i in $(seq 1 999); do
diff --git a/tests/run.sh b/tests/run.sh
index d92cc29..2a5d9be 100644
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -1,6 +1,6 @@
set -e
-export p4dcc="../../../p4dcc"
+export p4dcc="../../../$BIN"
export testcase=$1
export tmp_dir="tests/tmp/$testcase"