forked from vstakhov/libucl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvulcan.yml
More file actions
51 lines (40 loc) · 1.62 KB
/
vulcan.yml
File metadata and controls
51 lines (40 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- # Start
name: example
# 유저의 github 저장소 정보
url:
docker-image:
# predefined docker-image를 사용하되, 추가적인 설정이 필요한 경우 이렇게 정의
extra-build-env-setting-commands:
test-candidates: |
tools/tiffcrop.c
time-out: 3600
max-patch-number : 500
test-build-command: | # 테스트 빌드 커맨드 / defect4cpp 기준 meta.json의 내용이 필요
rm -f ./Makefile
./autogen.sh
./configure
make clean
make -j10
coverage-build-command: | # 커버리지 빌드 커맨드 / defect4cpp 기준 meta.json의 내용이 필요(SBFL: gcov)
rm -f ./Makefile
./autogen.sh
./configure CFLAGS="--coverage -g -O0" LDFLAGS="-lgcov"
make clean
make -j10
# 테스트 type이 문제: gtest의 경우 원하는 테스트를 실행할 수 있으니 문제가 없음
# 그렇지 않으면 test-case에 실행할 테스트 번호를 range로 하도록함
# 테스트 실행 역시 range안에 있는 테스트들만 실행하도록 묶어서 command를 부르거나 여러번 불러야함
test-type: automake
test-list: | # 테스트 리스트 커맨드 / 테스트를 하나씩 실행하기 위해 테스트 리스트를 출력해주는 내용 필요
make check TESTS=basic.test
make check TESTS=generate.test
make check TESTS=schema.test
make check TESTS=speed.test
make check TESTS=streamline.test
test-case:
test-command: | # 테스트 실행
bash -c "@testcase@"
test-coverage-command: | # 커버리지 테스트 실행 / 테스트 대상을 입력받아서 하나씩 실행할 수 있어야 함
bash -c "@testcase@"
gcov-exclusion-list: | # 커버리지 제외 대상
test*.o