mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
make bottest
This commit is contained in:
parent
0d216e62fe
commit
89ceead8b0
1 changed files with 14 additions and 3 deletions
17
make.js
17
make.js
|
@ -357,13 +357,22 @@ target.chrome = function() {
|
|||
//
|
||||
target.test = function() {
|
||||
target.browsertest();
|
||||
// target.unittest();
|
||||
target.unittest();
|
||||
};
|
||||
|
||||
//
|
||||
// make bottest
|
||||
// (Special tests for the Github bot)
|
||||
//
|
||||
target.bottest = function() {
|
||||
target.browsertest({noreftest: true});
|
||||
// target.unittest();
|
||||
};
|
||||
|
||||
//
|
||||
// make browsertest
|
||||
//
|
||||
target.browsertest = function() {
|
||||
target.browsertest = function(options) {
|
||||
cd(ROOT_DIR);
|
||||
echo();
|
||||
echo('### Running browser tests');
|
||||
|
@ -377,8 +386,10 @@ target.browsertest = function() {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
var reftest = options.noreftest ? '' : '--reftest';
|
||||
|
||||
cd('test');
|
||||
exec(PYTHON_BIN + ' -u test.py --reftest --browserManifestFile=' + PDF_BROWSERS +
|
||||
exec(PYTHON_BIN + ' -u test.py '+reftest+' --browserManifestFile=' + PDF_BROWSERS +
|
||||
' --manifestFile=' + PDF_TEST, {async: true});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue