Ejemplo n.º 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);
  }
Ejemplo n.º 2
0
 @Test
 public void testBadProgramsNoThreads() {
   TestUtils.checkDirectory(
       bad_programs_location, cFileFilter, parserTest("--parsec", "--no-threads"), true);
 }
Ejemplo n.º 3
0
 @Test
 public void testProperties() {
   TestUtils.checkDirectory(bad_programs_location, propFileFilter, parserTest("--prop"), true);
 }
Ejemplo n.º 4
0
 @Test
 public void testPrograms() {
   TestUtils.checkDirectory(programs_location, cFileFilter, parserTest("--parsec"), false);
 }