summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/threading/GetThreadTimes
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/tests/palsuite/threading/GetThreadTimes')
-rw-r--r--src/pal/tests/palsuite/threading/GetThreadTimes/test1/CMakeLists.txt2
-rw-r--r--src/pal/tests/palsuite/threading/GetThreadTimes/test1/test1.cpp (renamed from src/pal/tests/palsuite/threading/GetThreadTimes/test1/test1.c)4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pal/tests/palsuite/threading/GetThreadTimes/test1/CMakeLists.txt b/src/pal/tests/palsuite/threading/GetThreadTimes/test1/CMakeLists.txt
index d7e2eb2a88..aa4dad11ce 100644
--- a/src/pal/tests/palsuite/threading/GetThreadTimes/test1/CMakeLists.txt
+++ b/src/pal/tests/palsuite/threading/GetThreadTimes/test1/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8.12.2)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(SOURCES
- test1.c
+ test1.cpp
)
add_executable(paltest_getthreadtimes_test1
diff --git a/src/pal/tests/palsuite/threading/GetThreadTimes/test1/test1.c b/src/pal/tests/palsuite/threading/GetThreadTimes/test1/test1.cpp
index 6b62c05ec7..e57a7d08ba 100644
--- a/src/pal/tests/palsuite/threading/GetThreadTimes/test1/test1.c
+++ b/src/pal/tests/palsuite/threading/GetThreadTimes/test1/test1.cpp
@@ -23,7 +23,7 @@ int __cdecl main(int argc, char *argv[]) {
ret = PASS;
goto EXIT;
}
-
+ {
FILETIME kernelTime1, userTime1, kernelTime2, userTime2;
/* Delta = .01 sec */
LONG64 Actual, Expected, Delta = 850000000;
@@ -96,7 +96,7 @@ int __cdecl main(int argc, char *argv[]) {
//printf("%llu, %llu\n", Expected, Actual);
PAL_Terminate();
ret = PASS;
-
+ }
EXIT:
return ret;
}