Remove unused variable
This commit is contained in:
parent
c52d95a37b
commit
dd40de8159
|
@ -66,7 +66,6 @@ stop_server() {
|
|||
|
||||
startedSimulator=false
|
||||
log_temp=
|
||||
test_temp_dir=
|
||||
cleanup() {
|
||||
# Kill started object server
|
||||
stop_server || true
|
||||
|
@ -88,9 +87,6 @@ cleanup() {
|
|||
if [ -n "$log_temp" ] && [ -e "$log_temp" ]; then
|
||||
rm "$log_temp" || true
|
||||
fi
|
||||
if [ -n "$test_temp_dir" ] && [ -e "$test_temp_dir" ]; then
|
||||
rm -rf "$test_temp_dir" || true
|
||||
fi
|
||||
}
|
||||
|
||||
open_chrome() {
|
||||
|
@ -366,10 +362,6 @@ case "$TARGET" in
|
|||
npm install --build-from-source=realm
|
||||
fi
|
||||
|
||||
# Change to a temp directory.
|
||||
cd "$(mktemp -q -d -t realm.node.XXXXXX)"
|
||||
test_temp_dir=$PWD # set it to be cleaned at exit
|
||||
|
||||
pushd "$SRCROOT/tests"
|
||||
npm install
|
||||
eval "$npm_tests_cmd"
|
||||
|
@ -382,9 +374,6 @@ case "$TARGET" in
|
|||
start_server
|
||||
fi
|
||||
|
||||
# Change to a temp directory - because this is what is done for node - but we pushd right after?
|
||||
cd "$(mktemp -q -d -t realm.electron.XXXXXX)"
|
||||
test_temp_dir=$PWD # set it to be cleaned at exit
|
||||
pushd "$SRCROOT/tests/electron"
|
||||
|
||||
if [ "$(uname)" = 'Darwin' ]; then
|
||||
|
|
Loading…
Reference in New Issue