Summary: | testGetModules(lib.dw.tests.TestDwfl)junit.framework.AssertionFailedError | ||
---|---|---|---|
Product: | frysk | Reporter: | Andrew Cagney <cagney> |
Component: | general | Assignee: | Andrew Cagney <cagney> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 3385, 2654 |
Description
Andrew Cagney
2006-12-05 15:42:19 UTC
Works when run from the build tree. for (int i = 0; i < modules.length; i++) { String modName = modules[i].getName(); if (modName.lastIndexOf("TestRunner") >= 0) foundTestRunner = true; else if (modName.lastIndexOf("libc") >= 0) foundlibc = true; else if (modName.lastIndexOf("libgcj") >= 0) foundlibgcj = true; } Index: frysk-imports/frysk/junit/ChangeLog 2006-12-14 Andrew Cagney <cagney@redhat.com> * Runner.java: Call Paths.setMyBasename. * Paths.java (Paths): New private constructor. (runnerBasename, setRunnerBasename, getRunnerBasename): New. Index: frysk-imports/lib/dw/ChangeLog 2006-12-14 Andrew Cagney <cagney@redhat.com> * tests/TestDwfl.java: Use frysk .junit .Paths .getRunnerBasename. Tested on toadstool; generic bug. |