Browse Source

Do not delete files, reduce sleep to 5

master
probonopd 8 years ago
parent
commit
eb3a4f2959
  1. 10
      tests/tests.sh

10
tests/tests.sh

@ -44,7 +44,6 @@ unset QTDIR
############################################################################### ###############################################################################
cd tests/QtWidgetsApplication/build/ cd tests/QtWidgetsApplication/build/
rm *.o *.cpp *.h Makefile
mkdir -p nonfhs fhs/usr/bin mkdir -p nonfhs fhs/usr/bin
cp QtWidgetsApplication nonfhs/ cp QtWidgetsApplication nonfhs/
@ -52,7 +51,7 @@ cp QtWidgetsApplication nonfhs/
ldd nonfhs/QtWidgetsApplication ldd nonfhs/QtWidgetsApplication
find nonfhs/ find nonfhs/
LD_DEBUG=libs nonfhs/QtWidgetsApplication & LD_DEBUG=libs nonfhs/QtWidgetsApplication &
sleep 10 sleep 5
killall QtWidgetsApplication && echo "SUCCESS" killall QtWidgetsApplication && echo "SUCCESS"
cp QtWidgetsApplication fhs/usr/bin/ cp QtWidgetsApplication fhs/usr/bin/
@ -60,7 +59,7 @@ cp QtWidgetsApplication fhs/usr/bin/
ldd fhs/usr/bin/QtWidgetsApplication ldd fhs/usr/bin/QtWidgetsApplication
find fhs/ find fhs/
LD_DEBUG=libs fhs/usr/bin/QtWidgetsApplication & LD_DEBUG=libs fhs/usr/bin/QtWidgetsApplication &
sleep 10 sleep 5
killall QtWidgetsApplication && echo "SUCCESS" killall QtWidgetsApplication && echo "SUCCESS"
cd ../../../ cd ../../../
@ -70,7 +69,6 @@ cd ../../../
############################################################################### ###############################################################################
cd tests/QtQuickControls2Application/build/ cd tests/QtQuickControls2Application/build/
rm *.o *.cpp *.h Makefile
mkdir -p nonfhs fhs/usr/bin mkdir -p nonfhs fhs/usr/bin
cp QtQuickControls2Application nonfhs/ cp QtQuickControls2Application nonfhs/
@ -78,7 +76,7 @@ cp QtQuickControls2Application nonfhs/
ldd nonfhs/QtWidgetsApplication ldd nonfhs/QtWidgetsApplication
find nonfhs/ find nonfhs/
LD_DEBUG=libs nonfhs/QtQuickControls2Application & LD_DEBUG=libs nonfhs/QtQuickControls2Application &
sleep 10 sleep 5
killall QtQuickControls2Application && echo "SUCCESS" killall QtQuickControls2Application && echo "SUCCESS"
cp QtQuickControls2Application fhs/usr/bin/ cp QtQuickControls2Application fhs/usr/bin/
@ -86,7 +84,7 @@ cp QtQuickControls2Application fhs/usr/bin/
ldd fhs/usr/bin/QtQuickControls2Application ldd fhs/usr/bin/QtQuickControls2Application
find fhs/ find fhs/
LD_DEBUG=libs fhs/usr/bin/QtQuickControls2Application & LD_DEBUG=libs fhs/usr/bin/QtQuickControls2Application &
sleep 10 sleep 5
killall QtQuickControls2Application && echo "SUCCESS" killall QtQuickControls2Application && echo "SUCCESS"
cd ../../../ cd ../../../

Loading…
Cancel
Save