az/test: ut for linux only
This commit is contained in:
parent
5b750b350f
commit
af95725c76
|
@ -1,3 +1,5 @@
|
||||||
|
if (TD_LINUX)
|
||||||
|
|
||||||
aux_source_directory(. AZ_TEST_SRC)
|
aux_source_directory(. AZ_TEST_SRC)
|
||||||
|
|
||||||
add_executable(azTest ${AZ_TEST_SRC})
|
add_executable(azTest ${AZ_TEST_SRC})
|
||||||
|
@ -16,3 +18,5 @@ add_test(
|
||||||
NAME az_test
|
NAME az_test
|
||||||
COMMAND azTest
|
COMMAND azTest
|
||||||
)
|
)
|
||||||
|
|
||||||
|
endif(TD_LINUX)
|
||||||
|
|
|
@ -41,8 +41,8 @@ int32_t azInitEnv() {
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TEST(AzTest, DISABLED_InterfaceTest) {
|
TEST(AzTest, DISABLED_InterfaceTest) {
|
||||||
TEST(AzTest, InterfaceTest) {
|
// TEST(AzTest, InterfaceTest) {
|
||||||
int code = 0;
|
int code = 0;
|
||||||
|
|
||||||
code = azInitEnv();
|
code = azInitEnv();
|
||||||
|
|
Loading…
Reference in New Issue