projects
/
platform
/
core
/
connectivity
/
net-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added exception handling for unsupported features in HAL TC
[platform/core/connectivity/net-config.git]
/
haltests
/
haltests.h
diff --git
a/haltests/haltests.h
b/haltests/haltests.h
index
7c56f1d
..
495602e
100755
(executable)
--- a/
haltests/haltests.h
+++ b/
haltests/haltests.h
@@
-53,6
+53,13
@@
bool g_bFeatureP2P;
g_main_loop_quit(g_pMainLoop);\
}
+#define SKIP_NOT_SUPPORTED(bFeature) {\
+ if (!bFeature) {\
+ printf("Feature is not support\n");\
+ return;\
+ } \
+}
+
#ifdef __cplusplus
}
#endif