From 2e1dceea1d5bc6665026c19fa83fd99a4bf9622d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20T=C3=B3th?= <tothmiklostibor@gmail.com> Date: Sun, 18 Apr 2021 23:29:49 +0200 Subject: [PATCH] fix --- .idea/compiler.xml | 2 +- src/main/java/tester/Main.java | 2 +- test.json | 7 ------- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 test.json diff --git a/.idea/compiler.xml b/.idea/compiler.xml index fb7f4a8..6bf4635 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="CompilerConfiguration"> - <bytecodeTargetLevel target="11" /> + <bytecodeTargetLevel target="1.10" /> </component> </project> \ No newline at end of file diff --git a/src/main/java/tester/Main.java b/src/main/java/tester/Main.java index dd82181..1f675e9 100644 --- a/src/main/java/tester/Main.java +++ b/src/main/java/tester/Main.java @@ -34,7 +34,7 @@ public class Main { Process proc; try { - proc = Runtime.getRuntime().exec(String.format("java -jar %s", args[0])); + proc = Runtime.getRuntime().exec(String.format("java -jar %s --testing", args[0])); } catch (Exception e) { System.out.print("❌ "); System.out.printf("Nem sikerület elindítani a folyamatot, kérlek ellenőrizd, hogy tesztelendő program tényleg itt van-e: \"%s\"\n", args[0]); diff --git a/test.json b/test.json deleted file mode 100644 index 498aa7e..0000000 --- a/test.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "input": "asd", - "output": "sad", - "files": { - "oof": "foo" - } -} \ No newline at end of file -- GitLab