aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/helpers.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-03-15 12:35:04 +0900
committernsfisis <nsfisis@gmail.com>2026-05-02 18:30:18 +0900
commit76654319325efadf9ef19f4ce181397ad53f6914 (patch)
tree9600fb99a9ac71766a9f5c9fd0b95541e39a34e7 /tests/helpers.sh
parent2e308aca586b243b96c8e6c817f748d551cf7468 (diff)
downloadducc-76654319325efadf9ef19f4ce181397ad53f6914.tar.gz
ducc-76654319325efadf9ef19f4ce181397ad53f6914.tar.zst
ducc-76654319325efadf9ef19f4ce181397ad53f6914.zip
feat: partially implement bit-fields
Diffstat (limited to 'tests/helpers.sh')
-rw-r--r--tests/helpers.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/helpers.sh b/tests/helpers.sh
index b8de8a9..09de3df 100644
--- a/tests/helpers.sh
+++ b/tests/helpers.sh
@@ -74,3 +74,9 @@ function test_example() {
diff -u expected output
}
+
+function test_example_compile_only() {
+ filename="../../../examples/$1.c"
+
+ "$ducc" "${CFLAGS:-}" -I ../../../tests -o a.out "$filename"
+}