[compiler-rt] r226832 - [sanitizer] Move sched_getparam test under Linux/.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Jan 22 07:34:51 PST 2015
Author: eugenis
Date: Thu Jan 22 09:34:50 2015
New Revision: 226832
URL: http://llvm.org/viewvc/llvm-project?rev=226832&view=rev
Log:
[sanitizer] Move sched_getparam test under Linux/.
Added:
compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/sched_getparam.cc
- copied unchanged from r226827, compiler-rt/trunk/test/sanitizer_common/TestCases/sched_getparam.cc
Removed:
compiler-rt/trunk/test/sanitizer_common/TestCases/sched_getparam.cc
Removed: compiler-rt/trunk/test/sanitizer_common/TestCases/sched_getparam.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/sched_getparam.cc?rev=226831&view=auto
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/sched_getparam.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/sched_getparam.cc (removed)
@@ -1,13 +0,0 @@
-// RUN: %clangxx -O0 %s -o %t && %run %t
-
-#include <assert.h>
-#include <sched.h>
-#include <stdio.h>
-
-int main(void) {
- struct sched_param param;
- int res = sched_getparam(0, ¶m);
- assert(res == 0);
- if (param.sched_priority == 42) printf(".\n");
- return 0;
-}
More information about the llvm-commits
mailing list