Module: xenomai-3 Branch: next Commit: be70e0e1e3654933b2d8a4bcd60851acf9094855 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=be70e0e1e3654933b2d8a4bcd60851acf9094855
Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jul 31 11:38:35 2015 +0200 testsuite/latency: disable -t1/2 over Mercury --- testsuite/latency/latency.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testsuite/latency/latency.c b/testsuite/latency/latency.c index bbc4317..9f358d7 100644 --- a/testsuite/latency/latency.c +++ b/testsuite/latency/latency.c @@ -732,6 +732,11 @@ int main(int argc, char *const *argv) if (test_mode < USER_TASK || test_mode > TIMER_HANDLER) error(1, EINVAL, "invalid test mode"); +#ifdef CONFIG_XENO_MERCURY + if (test_mode ! USER_TASK) + error(1, EINVAL, "-t1, -t2 not allowed over Mercury"); +#endif + time(&test_start); histogram_avg = calloc(histogram_size, sizeof(int32_t)); _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://xenomai.org/mailman/listinfo/xenomai-git