test: hack to make json.test executable
This commit is contained in:
parent
935b1fe2e9
commit
226500cb83
@ -67,6 +67,7 @@ UTIL_FILES = \
|
||||
image.hpp \
|
||||
io.cpp \
|
||||
io.hpp \
|
||||
io.ipp \
|
||||
ip.cpp \
|
||||
ip.hpp \
|
||||
iterator.hpp \
|
||||
|
@ -258,8 +258,6 @@ AC_CONFIG_FILES([
|
||||
Doxyfile
|
||||
Makefile
|
||||
test/Makefile
|
||||
test/json.test
|
||||
], [
|
||||
chmod a+x test/json.test
|
||||
test/json.test.actual
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
1
test/.gitignore
vendored
1
test/.gitignore
vendored
@ -5,6 +5,7 @@
|
||||
/float
|
||||
/hton
|
||||
/ip
|
||||
/json.test.actual
|
||||
/json/types
|
||||
/*.log
|
||||
/maths
|
||||
|
@ -37,4 +37,4 @@ endif
|
||||
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh
|
||||
TESTS = static.test json.test
|
||||
check_PROGRAMS = $(TEST_BIN)
|
||||
EXTRA_DIST = static.test json.test
|
||||
EXTRA_DIST = static.test json.test.actual json.test
|
||||
|
8
test/json.test
Executable file
8
test/json.test
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
## This is just an ugly hack to pass execution from a known exectuable
|
||||
## application to the test application. config.status won't preserve
|
||||
## executable bits on the new file, so we can't just use the generated test
|
||||
## application directly.
|
||||
|
||||
/bin/sh `dirname $0`/json.test.actual "$@"
|
Loading…
Reference in New Issue
Block a user