This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing: some changes requested in review session
- rename proc/10-tests_pre.sh to proc-tests_scan - rename ABTEST_USEDEFAULT to ABTEST_AUTO_DETECT - add a small banner on start and end for autobuild-test - improve configurability for auto detected custom tests
- Loading branch information
Showing
7 changed files
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#!/bin/bash | ||
#proc/tests_probe.sh: probe and generate default tests | ||
|
||
if bool $ABTEST_USEDEFAULT; then | ||
if bool $ABTEST_AUTO_DETECT; then | ||
abtest_gen_default | ||
if [[ $? -eq 0 ]]; then | ||
ABTESTS="$ABTESTS default" | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/bash | ||
##proc/tests_postbuild: run tests at post build stage | ||
##proc/tests_post_build: run tests at post build stage | ||
##@copyright GPL-2.0+ | ||
|
||
for testcase in $ABTESTS; do | ||
abtest_run postbuild "${testcase}" | ||
abtest_run post-build "${testcase}" | ||
done | ||
|
||
unset testcase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/bash | ||
##proc/tests_postbuild: run tests at post install stage | ||
##proc/tests_post_install: run tests at post install stage | ||
##@copyright GPL-2.0+ | ||
|
||
for testcase in $ABTESTS; do | ||
abtest_run postinst "${testcase}" | ||
abtest_run post-install "${testcase}" | ||
done | ||
|
||
unset testcase |