]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - testsuite/Makefile
ftepp_out can now output to a string buffer
[xonotic/gmqcc.git] / testsuite / Makefile
index e902e55612af9bcf84edc96b597d56cdf33abc68..6eafd4c235a7a2de491c8a2d2699889091d78097 100644 (file)
@@ -17,7 +17,8 @@ TESTLIST = \
        ngraphs    \
        invalid-assign \
        field-parameters \
-       functions-as-parameters
+       functions-as-parameters \
+       shadow-qcc shadow-gmqcc
 
 .PHONY: clean test
 
@@ -168,6 +169,16 @@ functions-as-parameters:
        @$(VM) $< > $@/output
        @diff $@/output $@/expected
 
+$(eval $(call maketest,shadow-qcc,qcc))
+shadow-qcc:
+       @$(VM) -vector '33 44 55' $< > $@/output
+       @diff $@/output $@/expected
+
+$(eval $(call maketest,shadow-gmqcc,gm))
+shadow-gmqcc:
+       @$(VM) -vector '33 44 55' $< > $@/output
+       @diff $@/output $@/expected
+
 #######################################################################
 obj:
        mkdir obj