diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-07-23 18:35:18 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-07-23 18:35:18 +0300 |
commit | f2fc8861fe241683ccc4bf026fbeeefe6ba1e04e (patch) | |
tree | a68a8d8ffa6d47c1ddd923d2dc9efd3777efcb0f /tests/xfail/Makefile | |
parent | 09e6cad37d4559f83cd27075f0c7c1524d502321 (diff) | |
download | ngc-f2fc8861fe241683ccc4bf026fbeeefe6ba1e04e.tar.gz ngc-f2fc8861fe241683ccc4bf026fbeeefe6ba1e04e.zip |
Diffstat (limited to 'tests/xfail/Makefile')
-rw-r--r-- | tests/xfail/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/xfail/Makefile b/tests/xfail/Makefile new file mode 100644 index 0000000..b38feae --- /dev/null +++ b/tests/xfail/Makefile @@ -0,0 +1,15 @@ +FILES != echo *.c +TARGETS := $(FILES:%.c=build/%) + +all: $(TARGETS) + +build/%: %.c ../../ngc1 + @mkdir -p build + @gcc -E $< -o $@.i + @(../../ngc1 $@.i > $@.c 2>/dev/null && gcc $@.c -o $@ 2>/dev/null) \ + && echo "FAIL $@" \ + || echo "XFAIL $@" + +.PHONY: clean +clean: + $(RM) -rf build |