@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); }
@Test @Ignore public void testReachability() { File bv_programs_location = new File(sv_programs_location, "bitvector"); File bv_reg_programs_location = new File(sv_programs_location, "bitvector-regression"); TestUtils.checkDirectoryRec( bv_programs_location, iFileFilter, parserTestTimeout( "-r", "ERROR", "--multi-cell", "--iter-times", "10", "--function-inline", "2"), false); TestUtils.checkDirectoryRec( bv_reg_programs_location, iFileFilter, parserTestTimeout( "-r", "ERROR", "--multi-cell", "--iter-times", "10", "--function-inline", "2"), false); }
@Test @Ignore public void testFieldSensitive() { File invalid_programs_location = new File(mini_programs_location, "invalid"); File valid_programs_location = new File(mini_programs_location, "valid"); Tester<File> tester = parserTestTimeout( "--inline-anno", "--iter-times", "10", "--vari-cell", "--lambda", "--memory-check", "--hoare", "--fs", "-m32"); TestUtils.checkDirectoryRec(invalid_programs_location, cFileFilter, tester, false); TestUtils.checkDirectoryRec(valid_programs_location, cFileFilter, tester, false); }
@Test // @Ignore public void testCFSCSMiniBenchmark() { final Tester<File> SoundTester = parserTestTimeout( "--inline-anno", "--iter-times", "10", "-m32", "--vari-cell", "--lambda", "--memory-check", "--hoare", "-cfscs"); File invalid_location = new File(mini_programs_location, "invalid"); File valid_location = new File(mini_programs_location, "valid"); TestUtils.checkDirectoryRec(invalid_location, falseDerefFileFilter, SoundTester, false); TestUtils.checkDirectoryRec(invalid_location, falseFreeFileFilter, SoundTester, false); TestUtils.checkDirectoryRec(invalid_location, falseMemtrackFileFilter, SoundTester, false); TestUtils.checkDirectoryRec(invalid_location, falseAssertFileFilter, SoundTester, false); TestUtils.checkDirectoryRec(valid_location, cFileFilter, SoundTester, false); }
@Test @Ignore public void testMemorySafety() { File memsafety_programs_location = new File(sv_programs_location, "memsafety"); TestUtils.checkDirectoryRec( memsafety_programs_location, iFileFilter, parserTestTimeout( "--memory-check", "--lambda", "--hoare", "--multi-cell", "--iter-times", "10", "--function-inline", "2"), false); }
@Test @Ignore public void testNecInlineBenchmarkDry() { final Tester<File> SoundTester = parserTestTimeout("--dry-run", "--inline-anno"); TestUtils.checkDirectoryRec(nec_inline_programs_location, cFileFilter, SoundTester, false); }