[beast: 4/20] TESTS: build and run suite1



commit 84284e83e4e7748959ad22684b749d8710d6816f
Author: Tim Janik <timj gnu org>
Date:   Sun Sep 17 01:52:11 2017 +0200

    TESTS: build and run suite1
    
    Signed-off-by: Tim Janik <timj gnu org>

 tests/Makefile.am    |    6 ++++++
 tests/suite1-main.cc |   11 +++++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0c12d93..294f5dd 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,6 +24,12 @@ generated: clean-generated $(GENERATED)
 noinst_PROGRAMS = $(ALLTESTS)
 progs_ldadd     = ../bse/libbse-@MAJOR@.la $(LIBBSE_LIBS)
 
+# == suite1 ==
+noinst_PROGRAMS        += suite1
+TAPTESTS        += suite1
+suite1_SOURCES   = suite1-main.cc
+suite1_LDADD     = ../sfi/libsfi-@MAJOR@.la $(LIBBSE_LIBS)
+
 # testwavechunk
 TAPTESTS             += testwavechunk
 SLOWTESTS            += testwavechunk
diff --git a/tests/suite1-main.cc b/tests/suite1-main.cc
new file mode 100644
index 0000000..8814395
--- /dev/null
+++ b/tests/suite1-main.cc
@@ -0,0 +1,11 @@
+// This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
+#include <sfi/testing.hh>
+
+int
+main (int   argc,
+      char *argv[])
+{
+  Bse::Test::init (&argc, argv);
+
+  return Bse::Test::run();
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]