Pārlūkot izejas kodu

add testing infrastructure..

tags/ggatessh-v1.0.0
John-Mark Gurney pirms 4 gadiem
vecāks
revīzija
9b5e545805
3 mainītis faili ar 12 papildinājumiem un 2 dzēšanām
  1. +7
    -1
      Makefile
  2. +4
    -0
      Makefile.inc
  3. +1
    -1
      tests/Makefile

+ 7
- 1
Makefile Parādīt failu

@@ -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 Parādīt failu

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

BINDIR?= /sbin
WARNS?= 6

+ 1
- 1
tests/Makefile Parādīt failu

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

PACKAGE= tests

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

ATF_TESTS_SH+= ggate_test



Notiek ielāde…
Atcelt
Saglabāt