btrfs-progs/ci/images/run-tests
David Sterba e61eb57b6b btrfs-progs: ci: add docker build and test scripts
Add scripts that can be used to build docker images and executed from
inside docker containers to verify build or run the testsuite.
Some tweaks are needed at each step to make things work.

- docker-build - build the image
- docker-run - run the default command (test-build)
- run-tests - run the testsuite

Signed-off-by: David Sterba <dsterba@suse.com>
2021-03-01 15:46:34 +01:00

13 lines
259 B
Bash
Executable file

#!/bin/sh -x
where="$1"
cd "$where" || { echo "ERROR: $1 not found"; exit 1; }
make TEST_LOG=dump test-cli
make TEST_LOG=dump test-mkfs
make TEST_LOG=dump test-check
make TEST_LOG=dump test-misc
make TEST_LOG=dump test-convert
make TEST_LOG=dump test-fuzz