Browse Source

add testing infrastructure..

tags/ggatessh-v1.0.0
John-Mark Gurney 1 year ago
parent
commit
9b5e545805
3 changed files with 12 additions and 2 deletions
  1. +7
    -1
      Makefile
  2. +4
    -0
      Makefile.inc
  3. +1
    -1
      tests/Makefile

+ 7
- 1
Makefile View File

@@ -2,9 +2,15 @@

SUBDIR= ${_ggatec} \
${_ggated} \
ggatel
ggatel \
tests

_ggatec= ggatec
_ggated= ggated

.PHONY: devtest

devtest:
find [gst]* -type f -name '*.c' -o -name 'Makefile*' -o -name '*.sh' -o -name '*.8' | entr sh -c 'make -j 4 && make install -j 4 && kyua test -k /usr/tests/Kyuafile sys/geom/class/gate'

.include <bsd.subdir.mk>

+ 4
- 0
Makefile.inc View File

@@ -0,0 +1,4 @@
# This is to replicate the other parts of the FreeBSD build infrastructure.

BINDIR?= /sbin
WARNS?= 6

+ 1
- 1
tests/Makefile View File

@@ -2,7 +2,7 @@

PACKAGE= tests

TESTSDIR= ${TESTSBASE}/sys/geom/class/${.CURDIR:T}
TESTSDIR= ${TESTSBASE}/sys/geom/class/gate

ATF_TESTS_SH+= ggate_test



Loading…
Cancel
Save