mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +01:00
Remove extra output from generator and mocha tests (#5196)
* Remove extra output from generator tests * Fix test * Update loglevel for both tests
This commit is contained in:
@@ -42,6 +42,7 @@ async function runGeneratorsInBrowser() {
|
||||
capabilities: {
|
||||
browserName: 'chrome',
|
||||
},
|
||||
logLevel: 'warn',
|
||||
services: ['selenium-standalone']
|
||||
};
|
||||
// Run in headless mode on Github Actions.
|
||||
|
||||
@@ -24,7 +24,8 @@ async function runMochaTestsInBrowser() {
|
||||
},
|
||||
services: [
|
||||
['selenium-standalone']
|
||||
]
|
||||
],
|
||||
logLevel: 'warn'
|
||||
};
|
||||
// Run in headless mode on Github Actions.
|
||||
if (process.env.CI) {
|
||||
|
||||
@@ -18,7 +18,7 @@ check_result() {
|
||||
if [ -f $tmp_filename ]; then
|
||||
local golden_filename="${GOLDEN_DIR}generated.$suffix"
|
||||
if [ -f $golden_filename ]; then
|
||||
if cmp --silent $tmp_filename $golden_filename; then
|
||||
if cmp $tmp_filename $golden_filename; then
|
||||
echo -e "$SUCCESS_PREFIX $suffix: $tmp_filename matches $golden_filename"
|
||||
else
|
||||
echo -e "$FAILURE_PREFIX $suffix: $tmp_filename does not match $golden_filename"
|
||||
|
||||
Reference in New Issue
Block a user