Changeset 20887
- Timestamp:
- 07/12/16 11:09:45 (9 years ago)
- Location:
- issm/trunk-jpl/jenkins/javascript/karma
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/javascript/karma/karma.conf.js
r20883 r20887 14 14 'node_modules/jquery/dist/jquery.min.js', 15 15 'node_modules/mathjs/dist/math.min.js', 16 'lib/bin/EnumDefinitions.js',17 'lib/bin/issm-binaries.js',18 'lib/bin/issm-extlibraries.js',19 'lib/bin/matlabfunc.js',20 16 'lib/Exp/Square.js', 21 17 'lib/Par/SquareShelfConstrained.js', 22 18 'lib/Data/SquareShelfConstrained.data.js', 23 'lib/bin/mesh2d.js', 24 'lib/bin/mesh3dprisms.js', 25 'lib/bin/levelset.js', 26 'lib/bin/mask.js', 27 'lib/bin/geometry.js', 28 'lib/bin/friction.js', 29 'lib/bin/inversion.js', 30 'lib/bin/SMBforcing.js', 31 'lib/bin/initialization.js', 32 'lib/bin/flowequation.js', 33 'lib/bin/stressbalance.js', 34 'lib/bin/thermal.js', 35 'lib/bin/masstransport.js', 36 'lib/bin/calving.js', 37 'lib/bin/hydrologyshreve.js', 38 'lib/bin/matice.js', 39 'lib/bin/damage.js', 40 'lib/bin/qmu.js', 41 'lib/bin/basalforcings.js', 42 'lib/bin/DepthAverage.js', 43 'lib/bin/project2d.js', 44 'lib/bin/project3d.js', 45 'lib/bin/model.js', 46 //'scripts/specs/issm.spec.js' 19 'scripts/specs/issm.spec.js', 20 './../../../bin/issm-bin.js', 21 './../../../bin/issm-prebin.js', 22 './../../../bin/IssmModule.js' 47 23 //'scripts/specs/temp.spec.js' 48 'scripts/test102.js'49 24 //'scripts/specs/3.spec.js' 50 25 ], … … 84 59 85 60 // enable / disable watching file and executing tests whenever any file changes 86 autoWatch: true,61 autoWatch: false, 87 62 88 63 … … 90 65 // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher 91 66 //browsers: ['Chrome'], 92 browsers: [' Chrome'],67 browsers: ['Firefox'], 93 68 94 69 95 70 // Continuous Integration mode 96 71 // if true, Karma captures browsers, runs the tests and exits 97 singleRun: false,72 singleRun: true, 98 73 99 74 // Concurrency level -
issm/trunk-jpl/jenkins/javascript/karma/package.json
r20824 r20887 8 8 "karma-jasmine-jquery": "^0.1.1", 9 9 "karma-junit-reporter": "^1.0.0", 10 "karma-phantomjs-launcher": "^1.0.1", 10 11 "karma-requirejs": "^1.0.0", 11 12 "mathjs": "^3.2.1", 13 "phantomjs-prebuilt": "^2.1.7", 12 14 "requirejs": "^2.2.0" 13 15 } -
issm/trunk-jpl/jenkins/javascript/karma/scripts/run-server.sh
r20767 r20887 1 1 # Run a file server for serving the tests 2 PORT="${1:-808 0}"2 PORT="${1:-8081}" 3 3 python2.7 -m SimpleHTTPServer $PORT -
issm/trunk-jpl/jenkins/javascript/karma/scripts/runscript.js
r20767 r20887 4 4 }); 5 5 6 var PORT=808 0;6 var PORT=8081; 7 7 var tests = []; //last test to check 8 8
Note:
See TracChangeset
for help on using the changeset viewer.