Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix potential nil ptr seg fault and CI test issue
[ric-plt/lib/rmr.git]
/
test
/
app_test
/
rebuild.sh
diff --git
a/test/app_test/rebuild.ksh
b/test/app_test/rebuild.sh
similarity index 91%
rename from
test/app_test/rebuild.ksh
rename to
test/app_test/rebuild.sh
index
bf95b6d
..
2d1ce83
100644
(file)
--- a/
test/app_test/rebuild.ksh
+++ b/
test/app_test/rebuild.sh
@@
-20,7
+20,7
@@
# ---------------------------------------------------------------------------------
# Mnemonic: rebuild.ksh
# ---------------------------------------------------------------------------------
# Mnemonic: rebuild.ksh
-# Abstract: This is a simple script that will cause RM
r
to be rebuilt. It
+# Abstract: This is a simple script that will cause RM
R
to be rebuilt. It
# may be invoked by any of the run_* scripts in this directory.
#
# NOTE:
# may be invoked by any of the run_* scripts in this directory.
#
# NOTE:
@@
-35,7
+35,7
@@
parent=${PWD%/*} # allow us to step up gracefully
gparent=${parent%/*}
parent=${PWD%/*} # allow us to step up gracefully
gparent=${parent%/*}
-build_path=${
gparent}/.build # where we'll build
+build_path=${
BUILD_PATH:-${gparent}/.build} # where we should build; .build by default
echo "$(date) build starts" >&2
(
echo "$(date) build starts" >&2
(
@@
-47,8
+47,7
@@
echo "$(date) build starts" >&2
git pull # get the up to date code so if run from an old image it's a good test
fi
cd $build_path
git pull # get the up to date code so if run from an old image it's a good test
fi
cd $build_path
- cmake .. -DDEV_PKG=1
- make package
+ make package install
) >/tmp/PID$$.log
if (( $? != 0 ))
then
) >/tmp/PID$$.log
if (( $? != 0 ))
then