Skip to content

Commit efb20d4

Browse files
Cleanup: style issue, unused argument in test runs
1 parent 8d6143f commit efb20d4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

substratevm/mx.substratevm/mx_substratevm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,6 @@ def _svmhelperstest(native_image, path, with_isolates_only, build_only, test_onl
997997
svmhelpers_py = join(mx.dependency('com.oracle.svm.hosted.image.debug').output_dir(), 'svmhelpers.py')
998998

999999
test_python_source_dir = join(test_source_path, 'com', 'oracle', 'svm', 'test', 'debug', 'helper')
1000-
gdb_utils_py = join(test_python_source_dir, 'gdb_util.py')
10011000
test_pretty_printer_py = join(test_python_source_dir, 'test_pretty_printer.py')
10021001
test_cinterface_py = join(test_python_source_dir, 'test_cinterface.py')
10031002
test_class_loader_py = join(test_python_source_dir, 'test_class_loader.py')
@@ -1031,7 +1030,6 @@ def _svmhelperstest(native_image, path, with_isolates_only, build_only, test_onl
10311030
'-iex', 'set logging overwrite on',
10321031
'-iex', 'set logging redirect on',
10331032
'-iex', 'set logging enabled on',
1034-
'-x', gdb_utils_py,
10351033
]
10361034

10371035
def run_debug_test(image_name: str, testfile: str, source_path: str, with_isolates: bool = True,

substratevm/src/com.oracle.svm.test/src/com/oracle/svm/test/debug/helper/ClassLoaderTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ public class ClassLoaderTest {
5050
testClass = classLoader.loadClass("com.oracle.svm.test.missing.classes.TestClass");
5151
testObj = testClass.getConstructor().newInstance();
5252
instanceMethod = testClass.getDeclaredMethod("instanceMethod");
53-
} catch (IOException | ClassNotFoundException | NoSuchMethodException | InstantiationException |
54-
IllegalAccessException | InvocationTargetException e) {
53+
} catch (IOException | ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
5554
throw new RuntimeException(e);
5655
}
5756
// load the same class from two different classLoaders

0 commit comments

Comments
 (0)