aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb@gnu.org>2022-11-26 23:23:55 -0600
committerJacob Bachmeyer <jcb@gnu.org>2022-11-26 23:23:55 -0600
commite8446c3ff0dafab7bf3615712dbe1cd621f09f5b (patch)
tree91c8c9470af132ca08b6d9453e5c91fc83de5500 /Makefile.am
parentc173c009bd41b821e9fad4938d69d2204de69e55 (diff)
downloaddejagnu-e8446c3ff0dafab7bf3615712dbe1cd621f09f5b.zip
dejagnu-e8446c3ff0dafab7bf3615712dbe1cd621f09f5b.tar.gz
dejagnu-e8446c3ff0dafab7bf3615712dbe1cd621f09f5b.tar.bz2
Add tests for C unit test library
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index a10f836..4ca6097 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 1992-2019, 2020 Free Software Foundation, Inc.
+# Copyright (C) 1992-2019, 2020, 2022 Free Software Foundation, Inc.
#
# This file is part of DejaGnu.
#
@@ -220,6 +220,7 @@ TESTSUITE_FILES = \
testsuite/lib/report-card.exp \
testsuite/lib/runtest.exp \
testsuite/lib/util-defs.exp \
+ testsuite/libdejagnu/unit.exp \
testsuite/libdejagnu/tunit.exp
DEJATOOL = launcher libdejagnu report-card runtest
@@ -228,9 +229,11 @@ DEJATOOL = launcher libdejagnu report-card runtest
# of DejaGnu instead of an installed version.
RUNTEST = ${top_srcdir}/runtest
-AM_CXXFLAGS = -I$(top_srcdir) -g
-check_PROGRAMS = unit
+AM_CPPFLAGS = -I$(top_srcdir)
+check_PROGRAMS = unit \
+ testsuite/libdejagnu/unit-c
unit_SOURCES = testsuite/libdejagnu/unit.cc
+testsuite_libdejagnu_unit_c_SOURCES = testsuite/libdejagnu/unit-c.c
# Documentation.