test integration We always want to run the tests even if our platform is not in the...
authorNicholas Bamber <nicholas@periapt.co.uk>
Tue, 18 Feb 2025 01:16:47 +0000 (01:16 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 18 Feb 2025 01:16:47 +0000 (01:16 +0000)
Forwarded: not-needed
Last-Update: 2012-04-18

Gbp-Pq: Name tests

Makefile.am
tests/Makefile

index fbe28facd045f6f0aa28e0376441fb2811ff1b23..a4b8688a09ef4db9582397e517d67efed746928b 100644 (file)
@@ -150,15 +150,12 @@ LINUX_TESTS = lib/dialects/linux/tests/case-10-mqueue.bash \
        lib/dialects/linux/tests/case-20-inet6-ffffffff-handling.bash \
        lib/dialects/linux/tests/case-20-inet6-socket-endpoint.bash \
        lib/dialects/linux/tests/case-20-inet-socket-endpoint.bash \
-       lib/dialects/linux/tests/case-20-mmap.bash \
-       lib/dialects/linux/tests/case-20-mqueue-endpoint.bash \
        lib/dialects/linux/tests/case-20-open-flags-cx.bash \
        lib/dialects/linux/tests/case-20-open-flags-path.bash \
        lib/dialects/linux/tests/case-20-open-flags-tmpf.bash \
        lib/dialects/linux/tests/case-20-pidfd-pid.bash \
        lib/dialects/linux/tests/case-20-pipe-endpoint.bash \
        lib/dialects/linux/tests/case-20-pipe-no-close-endpoint.bash \
-       lib/dialects/linux/tests/case-20-pty-endpoint.bash \
        lib/dialects/linux/tests/case-20-ux-socket-endpoint.bash \
        lib/dialects/linux/tests/case-20-ux-socket-endpoint-unaccepted.bash
 EXTRA_DIST += $(LINUX_TESTS) lib/dialects/linux/tests/Makefile lib/dialects/linux/tests/case-00-linux-hello.bash
@@ -180,7 +177,7 @@ TESTS += $(LINUX_TESTS)
 endif
 
 # Testing programs
-TESTS += tests/LTbasic tests/LTbigf tests/LTdnlc tests/LTlock tests/LTnfs tests/LTnlink tests/LTsock tests/LTszoff tests/LTunix
+TESTS += tests/LTbasic tests/LTbigf tests/LTdnlc tests/LTlock tests/LTnlink tests/LTsock tests/LTszoff tests/LTunix
 
 check_PROGRAMS += tests/LTbasic tests/LTbigf tests/LTdnlc tests/LTlock tests/LTnfs tests/LTnlink tests/LTsock tests/LTszoff tests/LTunix
 tests_LTbasic_SOURCES = tests/LTbasic.c tests/LTlib.c
index 0b82654a9ce9521dff84d7bf5025c3028c37d92a..3194f1dd5e0630814215c7a9a1f3f6d7e9cecf76 100644 (file)
@@ -10,7 +10,7 @@ CFLAGS=       ${DEBUG} -I. -I.. -I../include
 
 HDR=   LsofTest.h
 
-CKTSTDB= CkTestDB
+CKTSTDB= true
 CONFCFL= ./config.cflags
 CONFIG=        ./config.cc ${CONFCFL} ./config.xobj
 LTOBJ= LTlib.o
@@ -19,13 +19,14 @@ LIBOBJ=     ${LTOBJ}
 
 BASTST=        LTbasic
 STDTST=        LTnlink LTsock LTszoff LTunix
-OPTTST=        LTbigf LTdnlc LTlock LTnfs
+OPTTST=        LTbigf LTdnlc LTlock
 
-all:   ${CKTSTDB} ${BASTST} ${STDTST} FRC
-       @./${CKTSTDB}; xv=$$?; \
+all:   ${BASTST} ${STDTST} FRC
+       @${CKTSTDB}; xv=$$?; \
        if [ $$xv -ne 0 ]; then \
          exit 1 ;\
        fi
+       @pwd
        @rm -f config.LT*
        @err=0; \
        echo ""; \
@@ -62,8 +63,8 @@ all:  ${CKTSTDB} ${BASTST} ${STDTST} FRC
 
 auto:  ckDB silent FRC
 
-ckDB:  ${CKTSTDB} FRC
-       @echo "" | ./${CKTSTDB}; xv=$$?; \
+ckDB:  FRC
+       @echo "" | ${CKTSTDB}; xv=$$?; \
        if [ $$xv -ne 0 ]; then \
          exit 1 ;\
        fi
@@ -113,7 +114,7 @@ LTunix: LTunix.c ${CONFIG} ${LIBOBJ} ${HDR} config.ldflags
        `cat config.cc` ${CFLAGS} `cat config.cflags` LTunix.c \
        ${LIBOBJ} `cat config.xobj` -o LTunix `cat config.ldflags`
 
-opt:   ${CKTSTDB} ${OPTTST} FRC
+opt:   ${OPTTST} FRC
        @rm -f config.LT*
        @err=0; \
        echo ""; \