summaryrefslogtreecommitdiffstats
path: root/jack-tests
diff options
context:
space:
mode:
authormikaelpeltier <mikaelpeltier@google.com>2015-02-27 15:02:13 +0100
committermikaelpeltier <mikaelpeltier@google.com>2015-02-27 15:16:57 +0100
commitf07072818f16d77f9c217a01bbe924c620d54668 (patch)
treeee6af6b87e9405eb569fcdbd9e01ffe46d65641d /jack-tests
parent5118d8beb90ee958eb4b6c05b01b9df087cb8897 (diff)
downloadtoolchain_jack-f07072818f16d77f9c217a01bbe924c620d54668.zip
toolchain_jack-f07072818f16d77f9c217a01bbe924c620d54668.tar.gz
toolchain_jack-f07072818f16d77f9c217a01bbe924c620d54668.tar.bz2
run method of Jack does not longer throws NothingToDoException
Change-Id: If55f57f449a7a8d01573721b22d4fea306ed537e
Diffstat (limited to 'jack-tests')
-rw-r--r--jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java b/jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java
index 77b74fb..3dab0b3 100644
--- a/jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java
+++ b/jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java
@@ -67,7 +67,7 @@ public class CommandLineErrorTest {
}
/**
- * Checks that compilation fails correctly when no source files are passed to ecj.
+ * Checks that compilation end correctly when no source files are passed to ecj.
*/
@Test
public void testCommandLineError002() throws Exception {
@@ -84,9 +84,6 @@ public class CommandLineErrorTest {
.addToClasspath(ite.getJackFolder())
.srcToExe(ite.getOutputDexFolder(),
/* zipFile = */ false, ite.getSourceFolder());
- Assert.fail();
- } catch (NothingToDoException e) {
- // Failure is ok since there is no source files.
} finally {
Assert.assertEquals("", errOut.toString());
Assert.assertTrue(out.toString().contains("Usage:"));