Browse Source

Run SunSpiderTests("controlflow-recursive.js") only in release mode (#1025)

Marko Lahma 3 years ago
parent
commit
8c4a51e6e2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Jint.Tests.CommonScripts/SunSpiderTests.cs

+ 2 - 0
Jint.Tests.CommonScripts/SunSpiderTests.cs

@@ -39,7 +39,9 @@ namespace Jint.Tests.CommonScripts
         [InlineData("bitops-bits-in-byte.js")]
         [InlineData("bitops-bits-in-byte.js")]
         [InlineData("bitops-bitwise-and.js")]
         [InlineData("bitops-bitwise-and.js")]
         [InlineData("bitops-nsieve-bits.js")]
         [InlineData("bitops-nsieve-bits.js")]
+#if !DEBUG // should only be ran in release mode when inlining happens
         [InlineData("controlflow-recursive.js")]
         [InlineData("controlflow-recursive.js")]
+#endif
         [InlineData("crypto-aes.js")]
         [InlineData("crypto-aes.js")]
         [InlineData("crypto-md5.js")]
         [InlineData("crypto-md5.js")]
         [InlineData("crypto-sha1.js")]
         [InlineData("crypto-sha1.js")]