Commit e62d73c6 authored by Vitezslav Kriz's avatar Vitezslav Kriz

semcheck: move and rename tests

parent f238157c
......@@ -74,7 +74,7 @@ utils_test_lookup_LDADD = \
CLEANFILES = runtests.log
include $(srcdir)/semcheck/Makefile.inc
include $(srcdir)/semantic_check_data/Makefile.inc
check-compile: $(check_PROGRAMS) $(check_SCRIPTS)
......
......@@ -3,14 +3,14 @@ check_SCRIPTS = \
CLEANFILES += $(check_SCRIPTS)
edit = sed \
edit = $(SED) \
-e 's|@top_srcdir[@]|$(abs_top_srcdir)|g' \
-e 's|@top_builddir[@]|$(abs_top_builddir)|g'
semantic_check: $(top_srcdir)/tests/semcheck/test.in
$(edit) < $(top_srcdir)/tests/semcheck/test.in > $(top_builddir)/tests/semantic_check
semantic_check: $(top_srcdir)/tests/semantic_check_data/semantic_check.in
$(edit) < $(top_srcdir)/tests/semantic_check_data/semantic_check.in > $(top_builddir)/tests/semantic_check
chmod +x $(top_builddir)/tests/semantic_check
EXTRA_DIST = \
semcheck/test.in \
semcheck
semantic_check_data/semantic_check.in \
semantic_check_data
#!/bin/sh
KZONECHECK=@top_builddir@/src/kzonecheck
DATA=@top_srcdir@/tests/semcheck
DATA=@top_srcdir@/tests/semantic_check_data
. @top_srcdir@/libtap/tap/libtap.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment