From e8446c3ff0dafab7bf3615712dbe1cd621f09f5b Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Sat, 26 Nov 2022 23:23:55 -0600 Subject: Add tests for C unit test library --- Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile.am') 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. -- cgit v1.1