From 44e8f2320bf2e4a290606db2e8c401437c6a6043 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 6 May 2025 22:45:45 +0900 Subject: update justfile --- justfile | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/justfile b/justfile index a997125..24add55 100644 --- a/justfile +++ b/justfile @@ -16,27 +16,17 @@ build N="1": gcc -s -Wl,-z,noexecstack -o p4dcc{{N}} main{{N}}.s fi -build-upto-10-gen: +build-upto-5-gen: just build 1 just build 2 just build 3 just build 4 just build 5 - just build 6 - just build 7 - just build 8 - just build 9 - just build 10 -test-self-hosted: build-upto-10-gen +test-self-hosted: build-upto-5-gen diff -u ./p4dcc2 ./p4dcc3 diff -u ./p4dcc3 ./p4dcc4 diff -u ./p4dcc4 ./p4dcc5 - diff -u ./p4dcc5 ./p4dcc6 - diff -u ./p4dcc6 ./p4dcc7 - diff -u ./p4dcc7 ./p4dcc8 - diff -u ./p4dcc8 ./p4dcc9 - diff -u ./p4dcc9 ./p4dcc10 test TESTCASE="all" $BIN="p4dcc": build #!/usr/bin/env bash @@ -45,9 +35,6 @@ test TESTCASE="all" $BIN="p4dcc": build else bash tests/run.sh {{TESTCASE}} fi - if [[ $BIN = p4dcc ]]; then - just build 2 - fi test-all: just test-self-hosted @@ -56,12 +43,8 @@ test-all: just test all p4dcc3 just test all p4dcc4 just test all p4dcc5 - just test all p4dcc6 - just test all p4dcc7 - just test all p4dcc8 - just test all p4dcc9 - just test all p4dcc10 clean: - rm p4dcc* + rm -f main*.s + rm -f p4dcc* rm -rf tests/tmp -- cgit v1.2.3-70-g09d2