diff --git a/.github/workflows/devel.yml b/.github/workflows/devel.yml index dc9668a5..ded27af7 100644 --- a/.github/workflows/devel.yml +++ b/.github/workflows/devel.yml @@ -3,7 +3,7 @@ # - various runtime tests name: Devel build and tests -run-name: Devel tests +run-name: Devel build and tests on: push: branches: @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v3 - run: uname -a - run: sudo modprobe btrfs - - run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev attr + - run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev attr jq - name: Configure run: ./autogen.sh && ./configure - name: Make @@ -32,3 +32,19 @@ jobs: run: sudo make TEST_LOG=dump test-check-lowmem - name: Tests misc run: sudo make TEST_LOG=dump test-misc + - name: Tests json formatter + run: make test-json + - name: Tests string-table formatter + run: make test-string-table + - name: Libbtrfsutil test + run: make test-libbtrfsutil + - name: Libbtrfs build test + run: make library-test + - name: Libbtrfs build test (static) + run: make library-test.static + - name: Tests ioctl + run: make ioctl-test + - name: Tests hash (speed) + run: make hash-speedtest && ./hash-speedtest 1 + - name: Tests hash (correctness) + run: make hash-vectest && ./hash-vectest diff --git a/Makefile b/Makefile index b477beb7..c40c37cc 100644 --- a/Makefile +++ b/Makefile @@ -521,7 +521,7 @@ test-json: json-formatter-test max=`./json-formatter-test`; \ for testno in `seq 1 $$max`; do \ echo " [TEST/json] $$testno"; \ - ./json-formatter-test $$testno | jq >& /dev/null; \ + ./json-formatter-test $$testno | jq >/dev/null; \ done \ } @@ -531,7 +531,7 @@ test-string-table: string-table-test max=`./string-table-test`; \ for testno in `seq 1 $$max`; do \ echo " [TEST/s-t] $$testno"; \ - ./string-table-test $$testno ; \ + ./string-table-test $$testno >/dev/null; \ done \ }