commit | 491469155e13b765e79392646d1dcc154233fd7e | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Sat Feb 22 16:54:44 2014 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Sat Feb 22 16:54:44 2014 +0800 |
tree | 671c571f5e1be1cd142a0e58e1ac7d523f2063a6 | |
parent | 1181a851b9f10747d8ea5f8f03b5c12f6f05ceb1 [diff] [blame] |
tests: continue to next tests rather than quit when failing to initialize a test
diff --git a/tests/test_ppc.c b/tests/test_ppc.c index 5784153..393eea2 100644 --- a/tests/test_ppc.c +++ b/tests/test_ppc.c
@@ -93,7 +93,7 @@ cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); if (err) { printf("Failed on cs_open() with error returned: %u\n", err); - return; + continue; } cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON);