diff options
Diffstat (limited to 'libsframe/testsuite/local.mk')
-rw-r--r-- | libsframe/testsuite/local.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libsframe/testsuite/local.mk b/libsframe/testsuite/local.mk new file mode 100644 index 00000000000..83eca774d41 --- /dev/null +++ b/libsframe/testsuite/local.mk @@ -0,0 +1,24 @@ +# Setup the testing framework +EXPECT = expect +RUNTEST = runtest +RUNTESTFLAGS = + +check-DEJAGNU: site.exp + srcroot=`cd $(srcdir) && pwd`; export srcroot; \ + r=`pwd`; export r; \ + LC_ALL=C; export LC_ALL; \ + EXPECT=$(EXPECT); export EXPECT; \ + runtest=$(RUNTEST); \ + if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ + $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ + CC="$(CC)" \ + CROSS_COMPILE="$(CROSS_COMPILE)" \ + COMPAT_DEJAGNU="$(COMPAT_DEJAGNU)" \ + CFLAGS="$(CFLAGS) -I$(top_srcdir)/../include -I$(top_srcdir) -I$(top_builddir)" \ + $(RUNTESTFLAGS); \ + else echo "WARNING: could not find \`runtest'" 1>&2; :;\ + fi + +# libsframe encoder/decoder testsuite +include %D%/libsframe.decode/local.mk +include %D%/libsframe.encode/local.mk |