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:
David Sterba 2023-12-01 01:39:27 +01:00
parent 960e7b3800
commit b512558c02
3 changed files with 6 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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