Changeset 69643 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Nov 10, 2017 1:34:06 PM (7 years ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r69111 r69643 157 157 tstFileAppendWin-1 \ 158 158 tstRTNtPath-1 \ 159 ntGetTimerResolution 159 ntGetTimerResolution \ 160 tstRTDarwinMachKernel 161 160 162 PROGRAMS.linux += \ 161 163 tstRTProcWait \ -
trunk/src/VBox/Runtime/testcase/tstRTDarwinMachKernel.cpp
r69111 r69643 34 34 #include <iprt/test.h> 35 35 36 /********************************************************************************************************************************* 37 * Global Variables * 38 *********************************************************************************************************************************/ 39 extern const char *g_pszTestKernel = "/no-such-file"; 36 40 37 41 … … 66 70 67 71 68 int main( )72 int main(int argc, char **argv) 69 73 { 70 74 RTTEST hTest; … … 74 78 RTTestBanner(hTest); 75 79 80 /* Optional kernel path as argument. */ 81 if (argc == 2) 82 g_pszTestKernel = argv[1]; 83 #ifndef RT_OS_DARWIN 84 else 85 return RTTestSkipAndDestroy(hTest, "not on darwin"); 86 #endif 87 76 88 dotest(); 77 89
Note:
See TracChangeset
for help on using the changeset viewer.