OBJ_PATH=$OBJ_PATH/debug \
debug
-if test $? -gt 0; then
+if [ $? -ne 0 ]; then
exit $?
fi
OBJ_PATH=$OBJ_PATH/release \
release
-if test $? -gt 0; then
+if [ $? -ne 0 ]; then
exit $?
fi
OBJ_PATH=$OBJ_PATH/test \
$target
- if test $? -gt 0; then
+ if [ $? -ne 0 ]; then
exit $?
fi
fi
OBJ_PATH=$OBJ_PATH/test-debug \
$target
- if test $? -gt 0; then
+ if [ $? -ne 0 ]; then
exit $?
fi
fi