Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webrtc-utilities",
"version": "0.0.2",
"version": "0.0.5",
"author": "The WebRTC project authors (https://www.webrtc.org/)",
"description": "WebRTC test framework utilities.",
"license": "BSD-3-Clause",
Expand All @@ -18,7 +18,7 @@
},
"scripts": {
"prepublish": "grunt githooks",
"test": "grunt && test/run-tests"
"test": "grunt && ./test/start-tests.sh"
},
"devDependencies": {
"grunt": "^0.4.5",
Expand Down
2 changes: 1 addition & 1 deletion test/run-tests → src/testrunner/start-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# tree.
#!/bin/sh

# Run testling with a default set of parameters
# Run with a default set of parameters
BINDIR=./browsers/bin
export BROWSER=${BROWSER-chrome}
export BVER=${BVER-stable}
Expand Down
21 changes: 21 additions & 0 deletions test/start-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree.
#!/bin/sh

# Run with a default set of parameters
BINDIR=./browsers/bin
export BROWSER=${BROWSER-chrome}
export BVER=${BVER-stable}
BROWSERBIN=$BINDIR/$BROWSER-$BVER
if [ ! -x $BROWSERBIN ]; then
echo "Installing browser"
./node_modules/travis-multirunner/setup.sh
fi
echo "Starting browser"
PATH=$PATH:./node_modules/.bin

node test/run-tests.js