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:
Bernhard Miklautz 2015-05-27 10:32:08 +02:00
parent f9c7e03044
commit 03ec9bed93
3 changed files with 5 additions and 7 deletions

View File

@ -1 +1 @@
TestWinpr.c
TestWinPR.c

View File

@ -1,5 +1,5 @@
set(MODULE_NAME "TestWinpr")
set(MODULE_NAME "TestWinPR")
set(MODULE_PREFIX "TEST_WINPR")
set(${MODULE_PREFIX}_DRIVER ${MODULE_NAME}.c)

View File

@ -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();
}