Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the font tests command, and related logic, from the bots #42

Merged
merged 1 commit into from
Nov 13, 2023
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
2 changes: 0 additions & 2 deletions on_cmd_browsertest.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ require('shelljs/global');
var fail = false;

exec('npm install', {async:true}, function() {
exec('git submodule init', {async:false});
exec('git submodule update', {async:false});

silent(true);

Expand Down
37 changes: 0 additions & 37 deletions on_cmd_fonttest.js

This file was deleted.

2 changes: 0 additions & 2 deletions on_cmd_integrationtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ require('shelljs/global');
var fail = false;

exec('npm install', {async:false});
exec('git submodule init', {async:false});
exec('git submodule update', {async:false});

silent(true);

Expand Down
2 changes: 0 additions & 2 deletions on_cmd_lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ require('shelljs/global');
var fail = false;

exec('npm install', {async:false});
exec('git submodule init', {async:false});
exec('git submodule update', {async:false});

silent(true);

Expand Down
2 changes: 0 additions & 2 deletions on_cmd_makeref.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ require('shelljs/global');
var fail = false;

exec('npm install', {async:true}, function() {
exec('git submodule init', {async:false});
exec('git submodule update', {async:false});

silent(true);

Expand Down
9 changes: 0 additions & 9 deletions on_cmd_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ require('shelljs/global');
var fail = false;

exec('npm install', {async:true}, function() {
exec('git submodule init', {async:false});
exec('git submodule update', {async:false});

silent(true);

Expand Down Expand Up @@ -42,15 +40,8 @@ silent(true);
exec('gulp bottest', {silent:false, async:true}, function(error, output) {
var integrationSuccessMatch = output.match(/All integration tests passed/g);
var unitSuccessMatch = output.match(/All unit tests passed/g);
var fontSuccessMatch = output.match(/All font tests passed/g);
var regSuccessMatch = output.match(/All regression tests passed/g);

if (fontSuccessMatch) {
botio.message('+ **Font tests:** Passed');
} else {
botio.message('+ **Font tests:** FAILED');
fail = true; // non-fatal, continue
}
if (unitSuccessMatch) {
botio.message('+ **Unit tests:** Passed');
} else {
Expand Down
2 changes: 0 additions & 2 deletions on_cmd_unittest.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ require('shelljs/global');
var fail = false;

exec('npm install', {async:false});
exec('git submodule init', {async:false});
exec('git submodule update', {async:false});

silent(true);

Expand Down
9 changes: 0 additions & 9 deletions on_cmd_xfatest.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ require('shelljs/global');
var fail = false;

exec('npm install', {async:true}, function() {
exec('git submodule init', {async:false});
exec('git submodule update', {async:false});

silent(true);

Expand Down Expand Up @@ -42,15 +40,8 @@ silent(true);
exec('gulp botxfatest', {silent:false, async:true}, function(error, output) {
var integrationSuccessMatch = output.match(/All integration tests passed/g);
var unitSuccessMatch = output.match(/All unit tests passed/g);
var fontSuccessMatch = output.match(/All font tests passed/g);
var regSuccessMatch = output.match(/All regression tests passed/g);

if (fontSuccessMatch) {
botio.message('+ **Font tests:** Passed');
} else {
botio.message('+ **Font tests:** FAILED');
fail = true; // non-fatal, continue
}
if (unitSuccessMatch) {
botio.message('+ **Unit tests:** Passed');
} else {
Expand Down