mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 14:45:19 +00:00
btrfs-progs: build: add target for all internal APIs
There are several APIs that have tests, add a single build target for convenience and enable that in the CI. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
960e7b3800
commit
b512558c02
6
.github/workflows/coverage.yml
vendored
6
.github/workflows/coverage.yml
vendored
@ -31,10 +31,8 @@ jobs:
|
|||||||
run: sudo make D=gcov TEST_LOG=dump test-misc
|
run: sudo make D=gcov TEST_LOG=dump test-misc
|
||||||
- name: Tests fuzz
|
- name: Tests fuzz
|
||||||
run: sudo make D=gcov TEST_LOG=dump test-fuzz
|
run: sudo make D=gcov TEST_LOG=dump test-fuzz
|
||||||
- name: Tests json formatter
|
- name: Test internal APIs
|
||||||
run: make D=gcov test-json
|
run: make D=gcov test-api
|
||||||
- name: Tests string-table formatter
|
|
||||||
run: make D=gcov test-string-table
|
|
||||||
- name: Libbtrfsutil test
|
- name: Libbtrfsutil test
|
||||||
run: make D=gcov test-libbtrfsutil
|
run: make D=gcov test-libbtrfsutil
|
||||||
- name: Libbtrfs build test
|
- name: Libbtrfs build test
|
||||||
|
6
.github/workflows/devel.yml
vendored
6
.github/workflows/devel.yml
vendored
@ -41,10 +41,8 @@ jobs:
|
|||||||
run: ./autogen.sh && ./configure --disable-documentation
|
run: ./autogen.sh && ./configure --disable-documentation
|
||||||
- name: Make
|
- name: Make
|
||||||
run: make V=1
|
run: make V=1
|
||||||
- name: Tests json formatter
|
- name: Test internal APIs
|
||||||
run: make test-json
|
run: make test-api
|
||||||
- name: Tests string-table formatter
|
|
||||||
run: make test-string-table
|
|
||||||
- name: Libbtrfsutil test
|
- name: Libbtrfsutil test
|
||||||
run: make test-libbtrfsutil
|
run: make test-libbtrfsutil
|
||||||
- name: Libbtrfs build test
|
- name: Libbtrfs build test
|
||||||
|
2
Makefile
2
Makefile
@ -574,6 +574,8 @@ test-array: array-test
|
|||||||
done \
|
done \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test-api: test-json test-string-table test-array
|
||||||
|
|
||||||
test: test-check test-check-lowmem test-mkfs test-misc test-cli test-fuzz
|
test: test-check test-check-lowmem test-mkfs test-misc test-cli test-fuzz
|
||||||
|
|
||||||
testsuite: btrfs-corrupt-block btrfs-find-root btrfs-select-super fssum fsstress
|
testsuite: btrfs-corrupt-block btrfs-find-root btrfs-select-super fssum fsstress
|
||||||
|
Loading…
Reference in New Issue
Block a user