Skip to content

Commit

Permalink
Removed theory parameter printing from sample & regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
Snaipe committed Sep 25, 2015
1 parent 6110f43 commit 4cc826e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 24 deletions.
15 changes: 6 additions & 9 deletions samples/outputs/theories.c.bin.err.expected
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@
[----] Theory algebra::bad_divide_is_inverse_of_multiply failed with the following parameters: (-2147483648, 2)
[----] theories.c:27: Unexpected signal caught below this line!
[FAIL] algebra::bad_divide_is_inverse_of_multiply: CRASH!
[----] theories.c:120: Assertion failed: The conditions for this assertion were not met.
[----] theories.c:117: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (1)
[----] theories.c:120: Assertion failed: The conditions for this assertion were not met.
[----] theories.c:117: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (2)
[----] theories.c:120: Assertion failed: The conditions for this assertion were not met.
[----] theories.c:117: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (3)
[----] theories.c:120: Assertion failed: The conditions for this assertion were not met.
[----] theories.c:117: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (4)
[----] theories.c:120: Assertion failed: The conditions for this assertion were not met.
[----] theories.c:117: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (5)
[FAIL] theory::gen: (0.00s)
[----] theories.c:103: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::misc failed with the following parameters: ('a', true, 1, 1, 1l, 1l, 3.14f, 3.14, "test", "other test", 0x604698)
[FAIL] theory::misc: (0.00s)
[====] Synthesis: Tested: 6 | Passing: 3 | Failing: 3 | Crashing: 1 
[====] Synthesis: Tested: 6 | Passing: 4 | Failing: 2 | Crashing: 1 
15 changes: 6 additions & 9 deletions samples/outputs/theories.cc.bin.err.expected
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@
[----] Theory algebra::bad_divide_is_inverse_of_multiply failed with the following parameters: (-2147483648, 2)
[----] theories.cc:31: Unexpected signal caught below this line!
[FAIL] algebra::bad_divide_is_inverse_of_multiply: CRASH!
[----] theories.cc:128: Assertion failed: The conditions for this assertion were not met.
[----] theories.cc:125: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (1)
[----] theories.cc:128: Assertion failed: The conditions for this assertion were not met.
[----] theories.cc:125: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (2)
[----] theories.cc:128: Assertion failed: The conditions for this assertion were not met.
[----] theories.cc:125: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (3)
[----] theories.cc:128: Assertion failed: The conditions for this assertion were not met.
[----] theories.cc:125: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (4)
[----] theories.cc:128: Assertion failed: The conditions for this assertion were not met.
[----] theories.cc:125: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::gen failed with the following parameters: (5)
[FAIL] theory::gen: (0.00s)
[----] theories.cc:111: Assertion failed: The conditions for this assertion were not met.
[----] Theory theory::misc failed with the following parameters: ('a', true, 1, 1, 1l, 1l, 3.14f, 3.14, "test", "other test", 0x605480)
[FAIL] theory::misc: (0.00s)
[====] Synthesis: Tested: 6 | Passing: 3 | Failing: 3 | Crashing: 1 
[====] Synthesis: Tested: 6 | Passing: 4 | Failing: 2 | Crashing: 1 
3 changes: 0 additions & 3 deletions samples/theories.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ Theory((char c, bool b, short s, int i, long l, long long ll, float f, double d,
cr_assert_str_eq(str, "test");
cr_assert_str_eq(cstr, "other test");
cr_assert_eq(obj->foo, 42);

// abort to see the formatted string of all parameters
cr_assert_fail();
}

// Manually generate datapoints
Expand Down
3 changes: 0 additions & 3 deletions samples/theories.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ Theory((char c, bool b, short s, int i, long l, long long ll, float f, double d,
cr_assert_str_eq(str, "test");
cr_assert_str_eq(cstr, "other test");
cr_assert_eq(obj->foo, 42);

// abort to see the formatted string of all parameters
cr_assert_fail();
}

// Manually generate datapoints
Expand Down

0 comments on commit 4cc826e

Please sign in to comment.