changeset 52301:fbfcdc5bf694

8192864: defmeth tests can hide failures Summary: Add a call to addFailureCount() to record previously hidden failures. Reviewed-by: lfoltan, coleenp
author hseigel
date Fri, 26 Oct 2018 08:23:52 -0400
parents 9e29d8388514
children 912b79d983d9
files test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/shared/DefMethTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/shared/DefMethTest.java	Thu Oct 25 21:40:17 2018 -0700
+++ b/test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/shared/DefMethTest.java	Fri Oct 26 08:23:52 2018 -0400
@@ -1,5 +1,5 @@
 /*
-1;2c * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -332,7 +332,7 @@
                                 e.printStackTrace();
                             }
                         }
-
+                        addFailureCount(1);
                         if (failFast) {
                             throw new TestFailure(e.getCause());
                         }