You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/05/26 17:24:46 UTC
incubator-mynewt-core git commit: testutil - use '-d' instead of '-s'
for sysassert.
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/develop b1d01329e -> 75e88a4af
testutil - use '-d' instead of '-s' for sysassert.
"-d" implies debug. This option uses the standard assert macro rather
than the testutil macro which doesn't stop on failure. This option is
useful for debugging test failures, as it triggers a halt at the point
of failure in gdb.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/75e88a4a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/75e88a4a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/75e88a4a
Branch: refs/heads/develop
Commit: 75e88a4afa607d6b7c7dea85fa0e774bd5c20df3
Parents: b1d0132
Author: Christopher Collins <cc...@apache.org>
Authored: Thu May 26 10:23:13 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Thu May 26 10:24:35 2016 -0700
----------------------------------------------------------------------
libs/testutil/src/arch/sim/tu_args.c | 2 +-
libs/testutil/src/args.c | 0
2 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/75e88a4a/libs/testutil/src/arch/sim/tu_args.c
----------------------------------------------------------------------
diff --git a/libs/testutil/src/arch/sim/tu_args.c b/libs/testutil/src/arch/sim/tu_args.c
index 75a2900..9da989d 100644
--- a/libs/testutil/src/arch/sim/tu_args.c
+++ b/libs/testutil/src/arch/sim/tu_args.c
@@ -10,7 +10,7 @@ tu_parse_args(int argc, char **argv)
while ((ch = getopt(argc, argv, "s")) != -1) {
switch (ch) {
- case 's':
+ case 'd':
tu_config.tc_system_assert = 1;
break;
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/75e88a4a/libs/testutil/src/args.c
----------------------------------------------------------------------
diff --git a/libs/testutil/src/args.c b/libs/testutil/src/args.c
deleted file mode 100644
index e69de29..0000000