diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/Makefile | 11 | ||||
-rw-r--r-- | tools/testing/selftests/run_tests | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile new file mode 100644 index 000000000000..298a5c0c1ead --- /dev/null +++ b/tools/testing/selftests/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | TARGETS = | ||
2 | |||
3 | all: | ||
4 | for TARGET in $(TARGETS); do \ | ||
5 | make -C $$TARGET; \ | ||
6 | done; | ||
7 | |||
8 | clean: | ||
9 | for TARGET in $(TARGETS); do \ | ||
10 | make -C $$TARGET clean; \ | ||
11 | done; | ||
diff --git a/tools/testing/selftests/run_tests b/tools/testing/selftests/run_tests new file mode 100644 index 000000000000..701960d9e531 --- /dev/null +++ b/tools/testing/selftests/run_tests | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | TARGETS= | ||
4 | |||
5 | for TARGET in $TARGETS | ||
6 | do | ||
7 | $TARGET/run_test | ||
8 | done | ||