1 parent 6d69fbc commit 5875e8dCopy full SHA for 5875e8d
1 file changed
script/cibuild.sh
@@ -8,14 +8,9 @@ export GITTEST_REMOTE_URL="git://localhost/test.git"
8
9
mkdir _build
10
cd _build
11
-cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
12
-cmake --build . --target install
13
-ctest -V .
14
-ecode=$?
15
-
16
-if [ $ecode -ne 0 ]; then
17
- exit $ecode
18
-fi
+cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS || exit $?
+cmake --build . --target install || exit $?
+ctest -V . || exit $?
19
20
# Now that we've tested the raw git protocol, let's set up ssh to we
21
# can do the push tests over it
0 commit comments