projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18772: consistently use bash comparison operators in build.sh
[arvados.git]
/
build
/
run-tests.sh
diff --git
a/build/run-tests.sh
b/build/run-tests.sh
index f716cb35f2009f2b2d6543a168b160695dd3ebd2..3592efbdc2bee5f6c4e25251677c581dcf65c088 100755
(executable)
--- a/
build/run-tests.sh
+++ b/
build/run-tests.sh
@@
-961,11
+961,11
@@
install_services/api() {
set -ex
cd "$WORKSPACE/services/api"
export RAILS_ENV=test
set -ex
cd "$WORKSPACE/services/api"
export RAILS_ENV=test
- if
"$bundle" exec
rails db:environment:set ; then
-
"$bundle" exec
rake db:drop
+ if
bin/
rails db:environment:set ; then
+
bin/
rake db:drop
fi
fi
-
"$bundle" exec
rake db:setup
-
"$bundle" exec
rake db:fixtures:load
+
bin/
rake db:setup
+
bin/
rake db:fixtures:load
) || return 1
}
) || return 1
}