Skip to content

Commit

Permalink
fix: test262.properties was always generated
Browse files Browse the repository at this point in the history
As the logic in build.gradle initialized the updateTest262properties
system property to an empty string, instead of the expected null value
  • Loading branch information
p-bakker authored and gbrail committed Jun 25, 2021
1 parent 636a550 commit aac4a4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ test {
systemProperty 'TEST_OPTLEVEL', System.getProperty('optLevel')
}
systemProperty 'test262properties', System.getProperty('test262properties')
systemProperty 'updateTest262properties', System.getProperty('updateTest262properties')
if (System.getProperty('updateTest262properties') != null) {
systemProperty 'updateTest262properties', System.getProperty('updateTest262properties')
}
maxHeapSize = "1g"
testLogging.showStandardStreams = true
// Many tests do not clean up contexts properly. This makes the tests much
Expand Down

0 comments on commit aac4a4e

Please sign in to comment.