Browse Source

static ref to static variable

tags/V1_2_1
wisberg 19 years ago
parent
commit
948bf91ad8
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      build/testsrc/BuildModuleTests.java

+ 3
- 3
build/testsrc/BuildModuleTests.java View File

@@ -27,7 +27,7 @@ public class BuildModuleTests extends TestCase {
/** if true, then replace old headers with new first */
private static final boolean replacing = false; // XXX never to enable again...
/** if any replace failed, halt all */
/** replace commented out below - if any replace failed, halt all */
private static boolean replaceFailed = false;
private static final String BASE_DIR = "../";
@@ -132,9 +132,9 @@ public class BuildModuleTests extends TestCase {
int fails = Checklics.runDirect(moduleDir.getPath(), license);
if (0 != fails) {
if (replacing) {
replaceFailed = true;
BuildModuleTests.replaceFailed = true;
}
assertTrue(label + " fails", false);
assertTrue(label + " fails", !BuildModuleTests.replaceFailed);
}
}


Loading…
Cancel
Save