diff options
author | Ben Elliston <bje@gnu.org> | 2005-12-20 19:49:04 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2005-12-20 19:49:04 +0000 |
commit | 41d13ade488d3432b8d357eb5b4293ea74c3722a (patch) | |
tree | 06693746388d57ac444e3063f878acd79e607c4c /Makefile.am | |
parent | 895ff7c400be35d5cbbf871bdd3ffc0b0e473a6a (diff) | |
download | dejagnu-41d13ade488d3432b8d357eb5b4293ea74c3722a.tar.gz dejagnu-41d13ade488d3432b8d357eb5b4293ea74c3722a.tar.bz2 dejagnu-41d13ade488d3432b8d357eb5b4293ea74c3722a.zip |
* Makefile.am (SUBDIRS): Remove testsuite, example.
(EXTRA_DIST): Add $(TESTSUITE_FILES).
(TESTSUITE_FILES): New.
(RUNTEST, RUNTESTDEFAULTFLAGS): New.
(AM_CXXFLAGS): Set.
(check_PROGRAMS): New.
(unit_SOURCES): New.
* Makefile.in: Regenerate.
* configure.ac (AC_OUTPUT): Don't output example/Makefile,
testsuite/Makefile or testsuite/libdejagnu/Makefile.
* configure: Regenerate.
* testsuite/Makefile.am: Remove.
* testsuite/Makefile.in: Likewise.
* testsuite/libdejagnu/Makefile.am: Likewise.
* testsuite/libdejagnu/Makefile.in: Likewise.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 0432c22..dbf4e1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,14 @@ # Process this file with automake to generate Makefile.in AUTOMAKE_OPTIONS = dejagnu -SUBDIRS = doc testsuite example +SUBDIRS = doc EXTRA_DIST = ChangeLog.0 MAINTAINERS runtest site.tmpl \ $(pkgdata_DATA) $(pkgdata_SCRIPTS) \ $(config_DATA) $(config_SCRIPTS) \ $(baseboard_DATA) $(baseboard_SCRIPTS) \ $(PACKAGING_METAFILES) + $(TESTSUITE_FILES) bin_SCRIPTS = runtest include_HEADERS = dejagnu.h @@ -166,6 +167,26 @@ pkgdata_DATA = stub-loader.c testglue.c djlibexecdir = $(pkgdatadir)/libexec djlibexec_SCRIPTS = config.guess +TESTSUITE_FILES = \ + testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1 \ + testsuite/runtest.all/topdir/subdir1/subfile1 \ + testsuite/runtest.all/topdir/subdir1/subfile2 \ + testsuite/runtest.all/topdir/subdir2/subfile2 \ + testsuite/runtest.all/libs.exp \ + testsuite/runtest.all/options.exp \ + testsuite/runtest.all/remote.test \ + testsuite/runtest.all/stats-sub.exp \ + testsuite/runtest.all/stats.exp \ + testsuite/runtest.all/target.test \ + testsuite/runtest.all/utils.test \ + testsuite/runtest.all/clone_output.test \ + testsuite/runtest.all/config.test \ + testsuite/runtest.all/default_procs.tcl \ + testsuite/config/default.exp \ + testsuite/lib/libsup.exp \ + testsuite/lib/util-defs.exp \ + testsuite/libdejagnu/tunit.exp + PACKAGING_METAFILES = packaging/depot/dejagnu.psf \ packaging/deb/site.exp packaging/deb/changelog packaging/deb/conffiles \ packaging/deb/control packaging/deb/copyright packaging/deb/postinst \ @@ -214,3 +235,12 @@ hpdepot: $(PKGDIR)/dejagnu tar cf $$here/dejagnu-${VERSION}.hpux11.depot dejagnu; \ gzip -9fv $$here/dejagnu-${VERSION}.hpux11.depot; \ rm -rf /tmp/dejagnu + +RUNTEST = `if [ -f ${top_srcdir}/runtest$(EXEEXT) ] ; then \ + echo ${top_srcdir}/runtest$(EXEEXT); \ + else echo "ERROR: runtest not found" ; exit 1; fi` + +RUNTESTDEFAULTFLAGS = --tool runtest --srcdir $(srcdir)/testsuite RUNTEST=$(RUNTEST) +AM_CXXFLAGS = -I$(top_srcdir) -g +check_PROGRAMS = unit +unit_SOURCES = testsuite/libdejagnu/unit.cc |