mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
just run all tests
This commit is contained in:
parent
60e304337e
commit
40f35e713c
@ -19,26 +19,14 @@ if [[ $build_rc != 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Testing Autopsy..." && echo -en 'travis_fold:start:script.tests\\r'
|
echo "Testing Autopsy..." && echo -en 'travis_fold:start:script.tests\\r'
|
||||||
cd Core/
|
|
||||||
echo "Testing Autopsy Core..."
|
|
||||||
echo "Free Space:"
|
echo "Free Space:"
|
||||||
echo `df -h .`
|
echo `df -h .`
|
||||||
xvfb-run ant -q test
|
xvfb-run ant -q test
|
||||||
core_test_rc=$?
|
test_rc=$?
|
||||||
cd ../KeywordSearch
|
|
||||||
echo "Testing Autopsy Keyword Search..."
|
|
||||||
echo "Free Space:"
|
|
||||||
echo `df -h .`
|
|
||||||
xvfb-run ant -q test
|
|
||||||
keywordsearch_test_rc=$?
|
|
||||||
echo -en 'travis_fold:end:script.tests\\r'
|
echo -en 'travis_fold:end:script.tests\\r'
|
||||||
|
exit $test_rc
|
||||||
|
|
||||||
if [ $core_test_rc != 0 ] || [$keywordsearch_test_rc != 0]; then
|
if [[ $test_rc != 0 ]]; then
|
||||||
echo "There was a test failure."
|
echo "There was a test failure."
|
||||||
|
exit $test_rc
|
||||||
if [$core_test_rc != 0]; then
|
|
||||||
exit $core_test_rc
|
|
||||||
elif [$keywordsearch_test_rc != 0]; then
|
|
||||||
exit $keywordsearch_test_rc
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user