From 78a3580901c134024b7f1042d21ea94bd4ae65fa Mon Sep 17 00:00:00 2001 From: Martin Reinecke Date: Sat, 12 Jan 2019 12:56:27 +0100 Subject: [PATCH] add test --- Makefile.am | 5 +++-- runtest.sh | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100755 runtest.sh diff --git a/Makefile.am b/Makefile.am index a1541f8..bcf53ff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,7 +30,8 @@ include_HEADERS = \ libsharp/sharp_cxx.h EXTRA_DIST = \ - libsharp/sharp_core_inc.c + libsharp/sharp_core_inc.c \ + runtest.sh libsharp_la_SOURCES = $(src_sharp) @@ -38,7 +39,7 @@ check_PROGRAMS = sharp_testsuite sharp_testsuite_SOURCES = libsharp/sharp_testsuite.c c_utils/memusage.c c_utils/memusage.h c_utils/walltime_c.c c_utils/walltime_c.h sharp_testsuite_LDADD = libsharp.la -#TESTS = ffttest +TESTS = runtest.sh AM_CFLAGS = -I$(top_srcdir)/c_utils -I$(top_srcdir)/libsharp @AM_CFLAGS@ diff --git a/runtest.sh b/runtest.sh new file mode 100755 index 0000000..be291ec --- /dev/null +++ b/runtest.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +./sharp_testsuite acctest +