소스 검색

add testing infrastructure..

tags/ggatessh-v1.0.0
John-Mark Gurney 4 년 전
부모
커밋
9b5e545805
3개의 변경된 파일12개의 추가작업 그리고 2개의 파일을 삭제
  1. +7
    -1
      Makefile
  2. +4
    -0
      Makefile.inc
  3. +1
    -1
      tests/Makefile

+ 7
- 1
Makefile 파일 보기

@@ -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 파일 보기

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

BINDIR?= /sbin
WARNS?= 6

+ 1
- 1
tests/Makefile 파일 보기

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

PACKAGE= tests

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

ATF_TESTS_SH+= ggate_test



불러오는 중...
취소
저장