Commit Graph

27 Commits

Author SHA1 Message Date
Marcel Hollerbach 46d464e5bf here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min..
1 min. conf time
2:30 min. build time
Where autotools takes:
1:50 min. conf time
3:40 min. build time.

meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read.

Further informations can be gathered from the README.meson

Right now, bindings & windows support are missing.

It is highly recommented to use meson 0.48 due to optimizations in meson
that reduced the time the meson call would need.

Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>

Differential Revision: https://phab.enlightenment.org/D7012
Depends on D7011
2018-10-02 17:22:50 +02:00
Mike Blumenkrantz 624925fe6e tests: move to using checked fixtures for all test suites
individual tests should not need to explicitly call init/shutdown functions
in most cases, and many did not properly do this anyway

see followup commit which resolves some issues with eina tests

ref T6813
ref T6811

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-04-05 11:10:26 +02:00
Mike Blumenkrantz adc601aca2 tests: add instrumentation to existing tests to find slow tests
efl_check.h must be included and the EFL_START/END_TEST macros must be
used in place of normal START/END_TEST macros

timing is enabled when TIMING_ENABLED is set
https://phab.enlightenment.org/w/improve_tests/

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-04-05 11:10:25 +02:00
Gustavo Sverzut Barbieri 8dc853f230 ifdef RUN_IN_TREE logic.
This logic is only needed for autotools, cmake will replicate the
installation file structure and thus eina_prefix works out of box.
2017-02-03 12:36:38 -02:00
Vincent Torri 9dcad9fd9e Test rework #15: Elua 2016-02-16 12:41:06 +00:00
Vincent Torri 4f242fb48a efl: add binary mode to fdopen() calls
This allows better compatibility with Windows

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-05 21:05:23 +01:00
Vincent Torri 3b44645363 efl: add binary mode to f(re)open() calls
This allows better compatibility with Windows

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-05 21:04:36 +01:00
Daniel Kolesa b90c1bf90e elua lib: sanitize all file paths before writing them
This will prevent random nonsense from being written in.

It changes semantics slightly (documented) and also fixes
CID 1267463.

@fix
2015-06-09 14:01:25 +01:00
Daniel Kolesa b1eb5b56a6 elua: use a minimal app to avoid loading eolian at runtime
Otherwise it would fail on systems with no Eolian installed.

@fix
2015-05-07 11:56:59 +01:00
Daniel Kolesa db66fe6255 elua lib: fix elua_util_app_load + docs 2015-05-06 15:05:23 +01:00
Daniel Kolesa e73f7f7a40 elua lib: use Eina_Bool as return val in some utils 2015-05-06 15:05:23 +01:00
Daniel Kolesa e9aadea402 elua lib: fix tests 2015-05-06 15:05:23 +01:00
Daniel Kolesa 145cd1a615 elua lib: test elua_util_script_run 2015-05-06 15:05:21 +01:00
Daniel Kolesa 4da4f7a534 elua lib: test elua_util_file_run 2015-05-06 15:05:21 +01:00
Daniel Kolesa 9e28b90010 elua lib: unset environment vars in tests 2015-05-06 15:05:21 +01:00
Daniel Kolesa 5bfa8e8b14 elua lib: test raw file load 2015-05-06 15:05:21 +01:00
Daniel Kolesa 07133df0b5 elua lib: test error reporting + lua stack state 2015-05-06 15:05:21 +01:00
Daniel Kolesa e8a4f47f93 elua lib: test more utility APIs 2015-05-06 15:05:21 +01:00
Daniel Kolesa 3b17064c10 elua lib: test some util APIs 2015-05-06 15:05:21 +01:00
Daniel Kolesa 259f9067c2 elua lib: tests for require/appload refs 2015-05-06 15:05:21 +01:00
Daniel Kolesa a6c5ec55a7 elua lib: setup funcs tests 2015-05-06 15:05:21 +01:00
Daniel Kolesa 75dd60d62d elua lib: test elua_state_dirs_fill 2015-05-06 15:05:21 +01:00
Daniel Kolesa e77ba60a58 elua lib: tests for core dirs + fix core dirs 2015-05-06 15:05:21 +01:00
Daniel Kolesa 8a3a32b6fa elua lib: test progname 2015-05-06 15:05:20 +01:00
Daniel Kolesa a2e2eb7f89 elua: test state retrieval 2015-05-06 15:05:20 +01:00
Daniel Kolesa 1f35cdd473 elua: initial test (state creation/deletion) 2015-05-06 15:05:20 +01:00
Daniel Kolesa dbe34d803c elua lib: add test suite 2015-05-06 15:05:20 +01:00