[Pkg-javascript-commits] [sockjs-client] 183/350: Remove unused
tonnerre at ancient-solutions.com
tonnerre at ancient-solutions.com
Fri Aug 5 01:04:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.
commit 57fcd49bf42c98fc36538d90695dea4f925462b2
Author: Bryce Kahle <bkahle at gmail.com>
Date: Sun Oct 19 22:41:15 2014 -0400
Remove unused
---
.gitignore | 3 --
.npmignore | 3 +-
COPYING | 2 -
bin/run_testling.sh | 135 ----------------------------------------------------
4 files changed, 1 insertion(+), 142 deletions(-)
diff --git a/.gitignore b/.gitignore
index dfd18b3..04b7a7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,8 +3,5 @@ node_modules
npm-debug.log
sockjs.js
sockjs.min.js
-.testling_env.sh
-testling.js
build/
-tests/html/lib/alltestsbundle.js
tests/html/lib/sockjs.js.map
\ No newline at end of file
diff --git a/.npmignore b/.npmignore
index a423b9c..3d0dbe4 100644
--- a/.npmignore
+++ b/.npmignore
@@ -1,2 +1 @@
-tests/
-bin/
\ No newline at end of file
+tests/
\ No newline at end of file
diff --git a/COPYING b/COPYING
index 3af960b..7fa8580 100644
--- a/COPYING
+++ b/COPYING
@@ -3,8 +3,6 @@ Parts of the code are derived from various open source projects.
For code derived from Socket.IO by Guillermo Rauch see
https://github.com/LearnBoost/socket.io/tree/0.6.17#readme.
-Snippets derived from JSON-js by Douglas Crockford are public domain.
-
Snippets derived from jQuery-JSONP by Julian Aubourg, generic MIT
license.
diff --git a/bin/run_testling.sh b/bin/run_testling.sh
deleted file mode 100755
index 4448312..0000000
--- a/bin/run_testling.sh
+++ /dev/null
@@ -1,135 +0,0 @@
-#!/bin/bash
-# Include a script with credentails:
-. .testling_env.sh
-# This script should set few Testling variables and should look more
-# or less like that:
-#
-# TESTLING_CRED=my at email.com:password
-# TUNNEL_PORT=12345
-# TUNNEL_USER=my_email_com
-#
-# First, you need to create browserling.com account. Set TESTLING_CRED
-# to email:password. Additionally, you must create a testling tunnel
-# using commands like that:
-#
-# curl -u $TESTLING_CRED "testling.com/tunnel" -sST ~/.ssh/id_rsa.pub
-# curl -u $TESTLING_CRED "testling.com/tunnel/open"
-#
-# After that set TUNNEL_PORT and TUNNEL_USER accordingly.
-#
-#
-
-browsers=(
- # iexplore/6.0
- # iexplore/7.0
- # iexplore/8.0
- # iexplore/9.0
- # chrome/4.0
- # chrome/5.0
- # chrome/6.0
- # chrome/7.0
- # chrome/8.0
- # chrome/9.0
- # chrome/10.0
- # chrome/11.0
- # chrome/12.0
- # chrome/13.0
- # chrome/14.0
- # chrome/15.0
- chrome/canary
- # firefox/3.0
- # firefox/3.5
- # firefox/3.6
- # firefox/4.0
- # firefox/5.0
- # firefox/6.0
- # firefox/7.0
- # firefox/8.0
- # firefox/nightly
- # opera/10.0
- # opera/10.5
- # opera/11.0
- # opera/11.5
- # opera/next
- # safari/5.0.5
- # safari/5.1
-)
-
-BROWSERS=`echo ${browsers[@]}|tr ' ' ','`
-
-
-if [ "$TESTLING_CRED" = "" ] || \
- [ "$TUNNEL_PORT" = "" ] || \
- [ "$TUNNEL_USER" = "" ]; then
- echo "Error: Please set following env variables: "\
- "TESTLING_CRED TUNNEL_PORT TUNNEL_USER"
- exit 1
-fi
-
-
-PIDFILE=.sshpidfile.pid
-
-if [ -e $PIDFILE ]; then
- kill `cat $PIDFILE`
- rm $PIDFILE
-fi
-
-
-
-cat > testling.js << EOF
-var test = require('testling');
-test('Testling Test Runner', function (t) {
- t.createWindow('http://tunnel.browserling.com:$TUNNEL_PORT/unittests.html',
- function(win, jq) {
- jq(function() {
- if(typeof win.QUnit === 'undefined') {
- t.log("No QUnit object in the window!");
- t.end();
- } else {
- var q = win.QUnit;
- var module_name = '[unknown]';
- q.begin = function() {
- t.log(' [*] Start');
- };
- q.moduleStart = function(o) {
- module_name = o.name;
- };
- q.log = function(o) {
- var x = module_name + ': ' + o.message;
- t.ok(o.result, x);
- if(!o.result) {
- t.log(" [-] Failed: " + x);
- }
- };
- q.done = function(o) {
- t.log(' [*] Done ' + o.failed + ' ' + o.passed +
- ' ' + o.total + ' ' + o.runtime);
- t.end();
- };
- }
- });
- });
- // Dead man's switch
- setTimeout(function(){
- t.log("Emergency timeout ocurred");
- t.end();
- }, 5000);
-});
-EOF
-
-
-
-ssh -o "VerifyHostKeyDNS no" \
- -NR $TUNNEL_PORT:localhost:8080 $TUNNEL_USER at tunnel.browserling.com &
-SSHPID=$!
-echo $SSHPID > $PIDFILE
-
-echo "[*] Running against: ${browsers[@]}"
-curl -u $TESTLING_CRED -sSNT testling.js \
- "testling.com/?browsers=$BROWSERS&noinstrument=test.js"
-
-kill $SSHPID
-wait $SSHPID
-rm $PIDFILE
-
-curl -sSNu $TESTLING_CRED "testling.com/browsers"|tail -n 1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list