Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
Add grunt task to run tests on ads < 200kb only.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Schneider committed Jun 10, 2015
1 parent d863f71 commit afc05c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gruntfile.js
Expand Up @@ -208,6 +208,10 @@ module.exports = function(grunt) {
maxBuffer: Infinity,
cmd: 'mongo ats --eval \'db.swfs.find({}).forEach(function (x) { print("test/ats/swfs/" + x.file); })\' | parallel --gnu -k -X -N10 --timeout 200% utils/jsshell/js build/ts/shell.js -x -det -fc 10 {} | tee test/ats/test_swf_all.run;'
},
test_swf_ads: {
maxBuffer: Infinity,
cmd: 'mongo ats --eval \'db.swfs.find({"parse_result.file_size":{$lt:204800},ad_result:{$ne:null}}).forEach(function (x) { print("test/ats/swfs/" + x.file); })\' | parallel --gnu -k -X -N10 --timeout 200% utils/jsshell/js build/ts/shell.js -x -det -fc 10 {} | tee test/ats/test_swf_ads.run;'
},
test_mock: {
maxBuffer: Infinity,
cmd: 'mkdir -p build/test;' +
Expand Down

0 comments on commit afc05c9

Please sign in to comment.