summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/Unit/powitf2_test.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2011-05-29 21:43:29 +0000
committerJoerg Sonnenberger <joerg@bec.de>2011-05-29 21:43:29 +0000
commitd9bcddd6b906525a2af06a6d66d1b3f73199433b (patch)
treeade7e83aa5f8b54eb28b30539cd3922d6aca597b /compiler-rt/test/Unit/powitf2_test.c
parentca6a4d8940769508d16e81ab387935bd5dd017dd (diff)
downloadbcm5719-llvm-d9bcddd6b906525a2af06a6d66d1b3f73199433b.tar.gz
bcm5719-llvm-d9bcddd6b906525a2af06a6d66d1b3f73199433b.zip
If a test case is not compiled on a specific platform, print "skipped"
to stdout. This helps identifying missing coverage on a given platform. llvm-svn: 132300
Diffstat (limited to 'compiler-rt/test/Unit/powitf2_test.c')
-rw-r--r--compiler-rt/test/Unit/powitf2_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/Unit/powitf2_test.c b/compiler-rt/test/Unit/powitf2_test.c
index ca690fd103a..817cb1130de 100644
--- a/compiler-rt/test/Unit/powitf2_test.c
+++ b/compiler-rt/test/Unit/powitf2_test.c
@@ -225,6 +225,8 @@ int main()
if (test__powitf2(-2, -31, -1/2147483648.))
return 1;
+#else
+ printf("skipped\n");
#endif
return 0;
}
OpenPOWER on IntegriCloud