Remove some non-standard cruft from OCaml test-suite

This commit is contained in:
William S Fulton 2019-01-03 07:54:29 +00:00
commit f17e993ed7

View file

@ -59,15 +59,6 @@ run_testcase = \
fi ; \
fi ;
check_quant:
: > testing
: > success
$(MAKE) check
echo "Failed:" > results
diff testing success | sed 's/^< //p;d' >> results
echo "Success:" >> results
cat success >> results
include $(srcdir)/../common.mk
# Overridden variables here
@ -78,31 +69,19 @@ include $(srcdir)/../common.mk
# Rules for the different types of tests
%.cpptest:
echo $@ >> testing
$(setup)
+$(swig_and_compile_cpp)
$(run_testcase)
if [ -f $(@:%.cpptest=%_wrap.o) ] ; then \
echo $@ >> success ; \
fi
%.ctest:
echo $@ >> testing
$(setup)
+$(swig_and_compile_c)
$(run_testcase)
if [ -f $(@:%.ctest=%_wrap.o) ] ; then \
echo $@ >> success ; \
fi
%.multicpptest:
echo $@ >> testing
+$(swig_and_compile_multi_cpp)
$(setup)
$(run_testcase)
if [ -f $(@:%.multicpptest=%_runtime_wrap.o) ] ; then \
echo $@ >> success ; \
fi
# Clean
%.clean: