exit on error

pull/21833/head
Bruno Windels 2018-07-27 16:04:41 +02:00
parent c3b7e6c7cb
commit e8f626ba18
3 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
# run with PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true sh install.sh if chrome is already installed # run with PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true sh install.sh if chrome is already installed
set -e
./synapse/install.sh ./synapse/install.sh
./riot/install.sh ./riot/install.sh
npm install npm install

1
run.sh
View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
./synapse/start.sh ./synapse/start.sh
./riot/start.sh ./riot/start.sh
node start.js node start.js

View File

@ -29,6 +29,7 @@ global.riotserver = 'http://localhost:8080';
global.browser = null; global.browser = null;
async function runTests() { async function runTests() {
process.exit(-1);
console.log("running tests ..."); console.log("running tests ...");
const options = {}; const options = {};
if (process.env.CHROME_PATH) { if (process.env.CHROME_PATH) {