winpr/test: incorporate comments from pull request
* Fix TestIntrinsics - always returned 0 * rename TestWinpr to TestWinPR for consistency * update gitignores accordingly
This commit is contained in:
parent
f9c7e03044
commit
03ec9bed93
2
winpr/test/.gitignore
vendored
2
winpr/test/.gitignore
vendored
@ -1 +1 @@
|
||||
TestWinpr.c
|
||||
TestWinPR.c
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
set(MODULE_NAME "TestWinpr")
|
||||
set(MODULE_NAME "TestWinPR")
|
||||
set(MODULE_PREFIX "TEST_WINPR")
|
||||
|
||||
set(${MODULE_PREFIX}_DRIVER ${MODULE_NAME}.c)
|
||||
|
@ -53,7 +53,7 @@ int test_lzcnt()
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int test_lzcnt16()
|
||||
@ -73,7 +73,7 @@ int test_lzcnt16()
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int TestIntrinsics(int argc, char* argv[])
|
||||
@ -82,8 +82,6 @@ int TestIntrinsics(int argc, char* argv[])
|
||||
|
||||
printf("LZCNT available: %d\n", g_LZCNT);
|
||||
|
||||
test_lzcnt();
|
||||
//test_lzcnt16();
|
||||
|
||||
return 0;
|
||||
return test_lzcnt();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user