Skip to content

Commit

Permalink
Skip test/move_pages if we don't have at least two nodes available
Browse files Browse the repository at this point in the history
If hardware that doesn't support this test is not available, we should
SKIP rather than FAIL.

This is akin to what we've done with `test/regress` in commit 4042d9e.

Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
  • Loading branch information
filbranden committed Aug 29, 2019
1 parent b4d36f6 commit fa689d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/move_pages.c
Expand Up @@ -50,7 +50,7 @@ int main(int argc, char **argv)

if (nr_nodes < 2) {
printf("A minimum of 2 nodes is required for this test.\n");
exit(1);
exit(77);
}
if (nr_nodes == -1) {
printf("Mismatch between congfigured nodes and memory-rich nodes.\n");
Expand Down

0 comments on commit fa689d1

Please sign in to comment.