summaryrefslogtreecommitdiff
path: root/test/src/oma_test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/oma_test_main.c')
-rwxr-xr-xtest/src/oma_test_main.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/src/oma_test_main.c b/test/src/oma_test_main.c
new file mode 100755
index 0000000..894cc37
--- /dev/null
+++ b/test/src/oma_test_main.c
@@ -0,0 +1,24 @@
+/*
+ * oma-ds-agent
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "unit_test_run.h"
+
+int main(void)
+{
+ int test_success = unit_test_run(FUNCTION_MODE);
+ return test_success;
+}