forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt the compile 'test' phony target from Makefile and deploy as ptest for unbound. All test are successful on a trial and took around >9min and <10min. Duration of ptest execution was 587 seconds on an average. Signed-off-by: rajmohan r <[email protected]> Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
1 parent
3ae99d7
commit d8f21b1
Showing
2 changed files
with
38 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
cd tests || exit 1 | ||
retVal=0 | ||
./unittest | ||
./testbound -s | ||
for x in ./testdata/*.rpl; do | ||
output="$(./testbound -p $x -o -vvvvv 2>&1)" | ||
if test $? -eq 0; then | ||
echo "$x :Pass" | ||
else | ||
echo "$output" | ||
echo "$x :Fail" | ||
retVal=1 | ||
fi | ||
done | ||
exit $retVal |
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