예제 #1
0
  @Test
  public void testDryRun() {
    TestUtils.checkDirectory(programs_location, cFileFilter, parserTest("--dry-run"), false);

    TestUtils.checkDirectoryRec(
        mini_programs_location, cFileFilter, parserTest("--dry-run", "--iter-times", "1"), false);

    TestUtils.checkDirectoryRec(
        mini_programs_location,
        cFileFilter,
        parserTest("--dry-run", "--iter-times", "1", "--lambda"),
        false);

    TestUtils.checkDirectoryRec(
        mini_programs_location,
        cFileFilter,
        parserTest("--dry-run", "--multi-cell", "--iter-times", "1"),
        false);

    TestUtils.checkDirectoryRec(
        mini_programs_location,
        cFileFilter,
        parserTest("--dry-run", "--multi-cell", "--iter-times", "1", "--lambda"),
        false);
  }
예제 #2
0
 @Test
 public void testBadProgramsNoThreads() {
   TestUtils.checkDirectory(
       bad_programs_location, cFileFilter, parserTest("--parsec", "--no-threads"), true);
 }
예제 #3
0
 @Test
 public void testProperties() {
   TestUtils.checkDirectory(bad_programs_location, propFileFilter, parserTest("--prop"), true);
 }
예제 #4
0
 @Test
 public void testPrograms() {
   TestUtils.checkDirectory(programs_location, cFileFilter, parserTest("--parsec"), false);
 }