print debug details also for valid tests if log level is fine.

This commit is contained in:
Volker Berlin 2020-08-08 23:17:27 +02:00
parent 63c7d09cdc
commit cd1d034b5c

View File

@ -40,6 +40,7 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import javax.annotation.Nonnull;
@ -194,7 +195,7 @@ public class WasmRule extends TemporaryFolder {
*/
@Override
protected void after() {
if( failed ) {
if( failed || JWebAssembly.LOGGER.isLoggable( Level.FINE )) {
for( File wasmFile : compiledFiles.values() ) {
File jsFile;
if( wasmFile.getName().endsWith( ".wasm" ) ) {