From 18268280dc6c0bd44035b53655ae43e9c88245bd Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 28 Feb 2026 17:37:19 +0530 Subject: Add set time mode + test for button --- test/justfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/justfile (limited to 'test/justfile') diff --git a/test/justfile b/test/justfile new file mode 100644 index 0000000..626e094 --- /dev/null +++ b/test/justfile @@ -0,0 +1,13 @@ +OUTDIR := "../out" +TSRCS := "../src/display.c ../src/rtc.c ../src/button.c ../src/mode.c ./stubbed/testindex.c" + +TCFLAGS := f"-g -std=gnu99 -DSTUBBED=1 -I../src -I./stubbed/ -Wall -Wno-unused-variable {{TSRCS}}" + +main: + gcc {{TCFLAGS}} ../src/main.c -o {{OUTDIR}}/test_main + {{OUTDIR}}/test_main + +button: + gcc {{TCFLAGS}} ./button_test.c -o {{OUTDIR}}/test_button + {{OUTDIR}}/test_button + -- cgit v1.3.1