ソースを参照

Fixing broken build for ChakraFull

Kenji Fukuda 7 年 前
コミット
7270ee54dc
3 ファイル変更3 行追加3 行削除
  1. 1 1
      test/Basics/Labels.js
  2. 1 1
      test/Basics/rlexe.xml
  3. 1 1
      test/typedarray/rlexe.xml

+ 1 - 1
test/Basics/Labels.js

@@ -315,7 +315,7 @@ var tests = [
         name : "Label tests with keywords as labels",
         body : function () 
         {             
-            testModuleScript("await: for(let i = 0; i < 3; i++){break await;}","", shouldFail=true) 
+            testModuleScript("await: for(let i = 0; i < 3; i++){break await;}", "'await' expression not allowed in this context", shouldFail=true) 
             assert.doesNotThrow(() => eval(strictMode + "await: for(let i = 0; i < 3; i++){break await;}"), "Await as label should only be an error when in a module")
             assert.doesNotThrow(() => eval(strictMode + testAwaitAsLabelOutsideAsyncFnc), "'await' should be allowed as label outside of async functions, even in strict mode.")
             assert.throws(() => eval(strictMode + testAwaitAsLabelInsideAsyncFnc), SyntaxError, "Expected 'await' label in async function to be a syntax error.", "Use of 'await' as label in async function is not allowed.");

+ 1 - 1
test/Basics/rlexe.xml

@@ -72,7 +72,7 @@
   <test>
     <default>
       <files>Labels.js</files>
-      <compile-flags>-args summary -endargs</compile-flags>
+      <compile-flags>-MuteHostErrorMsg -args summary -endargs</compile-flags>
     </default>
   </test>
   <test>

+ 1 - 1
test/typedarray/rlexe.xml

@@ -303,7 +303,7 @@ Below test fails with difference in space. Investigate the cause and re-enable t
     <default>
       <files>Uint8ClampedArray.js</files>
       <baseline>Uint8ClampedArray_es6.baseline</baseline>
-      <tags>typedarray</tags>
+      <tags>typedarray,exclude_jshost</tags> <!-->Disabled jshost, created issue #5520<!-->
     </default>
   </test>
   <test>