Parcourir la source

add testing infrastructure..

tags/ggatessh-v1.0.0
John-Mark Gurney il y a 4 ans
Parent
révision
9b5e545805
3 fichiers modifiés avec 12 ajouts et 2 suppressions
  1. +7
    -1
      Makefile
  2. +4
    -0
      Makefile.inc
  3. +1
    -1
      tests/Makefile

+ 7
- 1
Makefile Voir le fichier

@@ -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 Voir le fichier

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

BINDIR?= /sbin
WARNS?= 6

+ 1
- 1
tests/Makefile Voir le fichier

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

PACKAGE= tests

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

ATF_TESTS_SH+= ggate_test



Chargement…
Annuler
Enregistrer