Skip to content

Re-enable compile test in run_all_tests.sh #5602

@NeilFraser

Description

@NeilFraser
$ npm run test:compile:advanced

> blockly@7.20211209.0-beta.0 test:compile:advanced
> gulp buildAdvancedCompilationTest

[11:22:24] Using gulpfile ~/Code/blockly/gulpfile.js
[11:22:24] Starting 'buildAdvancedCompilationTest'...
gulp-google-closure-compiler: tests/compile/test_blocks.js:15:0: ERROR - [JSC_MISSING_MODULE_OR_PROVIDE] Required namespace "Blockly.Blocks" never defined.
  15| goog.require('Blockly.Blocks');
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1 error(s), 0 warning(s)

[11:22:26] 'buildAdvancedCompilationTest' errored after 2.35 s
[11:22:26] Error: gulp-google-closure-compiler: Compilation errors occurred
    at CompilationStream._compilationComplete (/Users/fraser/Code/blockly/node_modules/google-closure-compiler/lib/gulp/index.js:238:28)
    at /Users/fraser/Code/blockly/node_modules/google-closure-compiler/lib/gulp/index.js:208:14

Furthermore, in Blockly Games, nearly all games fail with:

compressed.js:289 Uncaught Error: Error when registering mutator "controls_if_mutator": Mutations must contain either XML hooks, or JSON hooks, or both
    at Hh (compressed.js:289)
    at Object.Fh.ut (compressed.js:286)
    at compressed.js:713

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions