karma-chrome-launcher needs to be told where to find Chromium
if that's installed rather than Chrome. And because the tests
are run with 'su - ' that env variable definition has to be
put inside both TEST_COMMAND definitions.
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
echo "NODEJS_BINARY=$NODEJS_BINARY"
echo "NODEJS_VERSION=$NODEJS_VERSION"
- # to fix hopefully fix an npm ELIFECYCLE error
- export CHROME_BIN=/usr/bin/chromium
-
echo End of intializing installer =~-._
}
date
TEST_COMMAND='
cd /home/test/Evergreen/Open-ILS/web/js/ui/default/staff/ ;
+ export CHROME_BIN=/usr/bin/chromium
echo Running npm install: ;
npm install ;
echo Return Value = $? ;
date
TEST_COMMAND='
cd /home/test/Evergreen/Open-ILS/src/eg2/ ;
+ export CHROME_BIN=/usr/bin/chromium
echo Running npm install: ;
npm install ;
echo Return Value = $? ;