forked from enlightenment/efl
* fix warning in tests
* add config.h when needed * remove result/ dir before launching benchmark SVN revision: 36321
This commit is contained in:
parent
d25b46df3e
commit
e88e4d5fb5
|
@ -63,7 +63,7 @@ lcov-reset:
|
|||
|
||||
lcov-report:
|
||||
@mkdir coverage
|
||||
@lcov --compat-libtool --directory src --capture --output-file coverage/coverage.info
|
||||
@lcov --compat-libtool --directory $(top_srcdir)/src --capture --output-file coverage/coverage.info
|
||||
@lcov -l coverage/coverage.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > coverage/remove
|
||||
@lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info
|
||||
@rm coverage/remove
|
||||
|
@ -88,6 +88,7 @@ endif
|
|||
if EFL_ENABLE_BENCHMARK
|
||||
|
||||
benchmark:
|
||||
@rm -rf result
|
||||
@make -C src benchmark
|
||||
@mkdir result || true
|
||||
@cd result && ../src/tests/eina_bench `date +%F_%s`
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "eina_suite.h"
|
||||
|
|
|
@ -16,11 +16,15 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "eina_suite.h"
|
||||
#include "eina_benchmark.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "eina_suite.h"
|
||||
#include "eina_benchmark.h"
|
||||
|
||||
static int global_test = 0;
|
||||
|
||||
static void
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "eina_counter.h"
|
||||
|
|
|
@ -16,8 +16,13 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "eina_suite.h"
|
||||
#include "eina_error.h"
|
||||
|
|
|
@ -16,6 +16,13 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "eina_suite.h"
|
||||
#include "eina_file.h"
|
||||
|
||||
|
|
|
@ -20,8 +20,9 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "eina_hash.h"
|
||||
#include "eina_convert.h"
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "eina_suite.h"
|
||||
|
|
|
@ -16,8 +16,12 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "eina_suite.h"
|
||||
#include "eina_lalloc.h"
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "eina_list.h"
|
||||
|
|
|
@ -16,7 +16,12 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define EINA_MAGIC_DEBUG
|
||||
|
||||
|
|
|
@ -16,10 +16,15 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "Eina.h"
|
||||
#include "eina_suite.h"
|
||||
|
||||
#include <stdio.h>
|
||||
START_TEST(eina_simple)
|
||||
{
|
||||
/* Eina_error as already been initialized by eina_hash
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "eina_array.h"
|
||||
#include "eina_suite.h"
|
||||
|
|
|
@ -16,9 +16,14 @@
|
|||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "eina_suite.h"
|
||||
#include "eina_stringshare.h"
|
||||
|
|
Loading…
Reference in New Issue