commit | 78a63b76b9fca16bffcac83942fbf2c5d11c6cab | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Mon Mar 18 17:28:22 2019 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Tue Mar 19 13:03:19 2019 +0000 |
tree | 2d489e76a7babab8216fb7f50298ba2096d2b39e | |
parent | 2d10e88fb4d76ba80be5d7da769833c62ee3cd0e [diff] [blame] |
Allow arguments to FAIL macro in test. Change-Id: Ia8f0b7e0d333452f5f7be1b499d7323a62cc037f
diff --git a/test/hftest/hftest_common.c b/test/hftest/hftest_common.c index 871aa54..1a48c74 100644 --- a/test/hftest/hftest_common.c +++ b/test/hftest/hftest_common.c
@@ -45,7 +45,7 @@ if (hftest_count < HFTEST_MAX_TESTS) { hftest_constructed[hftest_count++] = test; } else { - HFTEST_FAIL("Too many tests", true); + HFTEST_FAIL(true, "Too many tests"); } }