efl
1/*
2* Copyright 2019 by its authors. See AUTHORS.
3*
4* Licensed under the Apache License, Version 2.0 (the "License");
5* you may not use this file except in compliance with the License.
6* You may obtain a copy of the License at
7*
8* http://www.apache.org/licenses/LICENSE-2.0
9*
10* Unless required by applicable law or agreed to in writing, software
11* distributed under the License is distributed on an "AS IS" BASIS,
12* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13* See the License for the specific language governing permissions and
14* limitations under the License.
15*/
16#ifdef HAVE_CONFIG_H17# include <config.h>18#endif19
20#include "eo_cxx_suite.h"21#include "../efl_check.h"22
23static const Efl_Test_Case etc[] = {24{ NULL, NULL }25, { NULL, NULL }26};27
28int
29main(int argc, char* argv[])30{
31int failed_count;32
33if (!_efl_test_option_disp(argc, argv, etc))34return 0;35
36putenv(const_cast<char*>("EFL_RUN_IN_TREE=1"));37
38failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,39"Eo C++", etc, NULL, NULL);40
41return (failed_count == 0) ? 0 : 255;42}
43