Ruben Ayrapetyan
b6d018d019
Enable cppcheck run during precommit testing
2015-02-17 18:43:54 +03:00
Ruben Ayrapetyan
92a9d6db45
Moving precommit testing scripts from Makefile[.mk] to tools/runners/run-precommit-check-for-target.sh and tools/precommit.sh; deleting Makefile.mk.
2015-02-17 15:28:13 +03:00
Ruben Ayrapetyan
03c81e96e9
Turning on unit tests build and run during precommit.
2015-02-16 19:35:15 +03:00
Ruben Ayrapetyan
2667281745
Adding VALGRIND={ON,OFF} make option.
2015-02-16 14:02:32 +03:00
Ruben Ayrapetyan
43ea53b1d7
Jerry is now split to several components: core, libc, plugins.
...
The components are build independently and then are linked with main module corresponding to target platform.
Core is supposed to be platform-independent, while libc and plugins are dependent on specific architecture / platform.
The commit disables unit tests building and running during precommit.
That is supposed to be fixed in a subsequent commit.
Also, the commit disables building and running valgrind targets during precommit.
Build is supposed to be turned on by an option that should be introduced later.
Valgrind-checked runs are supposed to be performed in asynchronous mode.
2015-02-13 21:54:27 +03:00
Ruben Ayrapetyan
f3ff78b81b
Refinement of tools directory.
2015-02-10 20:21:01 +03:00
Ruben Ayrapetyan
d2459398f5
Refinement of build output structure.
2015-02-10 19:34:30 +03:00
Ruben Ayrapetyan
718bbe26f9
Refinement of project structure.
...
- components renaming and moving:
- liballocator -> mem;
- libcoreint -> vm;
- libecmaobjects -> ecma/base;
- libecmaoperations -> ecma/operations;
- libecmabuiltins -> ecma/builtins;
- libjsparser -> parser/js;
- libintstructs -> parser/collections;
- liboptimizer -> parser/js;
- libperipherals -> ../plugins/lib_device_stm;
- libruntime -> jrt;
- generated.h now is created as intermediate during build;
- benchmarks -> tests/benchmarks;
- docs -> documentation;
- demo-applications removed (loop_demo.js -> tests/blinky.js).
2015-02-10 19:00:32 +03:00
Jerry Deferred Test Account (ARM Linux Host)
c104a58008
CMake: fixing search of gcc-ar and gcc-ranlib tools, linkage of libgcc; Makefile: replacing path to out with $(OUT_DIR).
2015-02-10 10:53:18 +00:00
Ruben Ayrapetyan
b7e374fedc
Switching to CMake for build.
2015-02-09 20:56:01 +03:00
Ruben Ayrapetyan
9f7e17e9fd
Removing musl libc usage. Linking to libgcc (for __aeabi_* routines on ARM target).
2014-11-18 21:17:31 +03:00
Ruben Ayrapetyan
7bb6c6bc84
Removing debug_release.* build targets.
2014-11-17 13:52:22 +03:00
Ruben Ayrapetyan
c5cc82d793
Adding mem_stats build modifier.
2014-11-12 15:46:15 +03:00
Ruben Ayrapetyan
c0a6ae3eff
- Smaller but not precise conversion between strings and numbers under
...
CONFIG_ECMA_NUMBER_TYPE==CONFIG_ECMA_NUMBER_FLOAT32 (float32 mode);
- float64 mode by default if not CompactProfile-mode;
- CompactProfile-mode for MCU builds.
2014-10-31 20:44:27 +03:00
Ruben Ayrapetyan
05cf2dbe04
Providing cp_minimal build mode.
...
In the mode built-in objects except Global, Object, Object.prototype, Function,
Function.prototype, [[ThrowTypeError]] and CompactProfileError are disabled.
Making default builds (without cp cp_minimal modes set) to not define CONFIG_ECMA_COMPACT_PROFILE.
Removing some tests that depend on 'eval'-like functionality or CompactProfileError built-in from pre-commit testing.
2014-10-31 18:37:55 +03:00
Ruben Ayrapetyan
4f68e43b7d
Adding debug.linux-float64 to pre-commit testing.
2014-10-23 20:34:58 +04:00
Ruben Ayrapetyan
81ae0010ac
Introducing float64 mod for host build targets that configures ecma-number to be float64 instead of default float32.
2014-10-23 19:27:43 +04:00
Ruben Ayrapetyan
e4a7d1c8ac
Introducing nostaticcheck=1 build option for disabling cppcheck and vera++ checks during the build.
2014-10-23 16:55:59 +04:00
Ruben Ayrapetyan
ae048a7630
Running internal test suite during precommit testing.
2014-10-20 21:45:21 +04:00
Ruben Ayrapetyan
8e1156bd9e
Support of STM32F3 board.
2014-10-17 21:48:09 +04:00
Ruben Ayrapetyan
318a62e9b3
Adding debug.linux-valgrind.check and release.linux-musl-valgrind.check to precommit testing.
2014-09-17 12:56:48 +04:00
Ruben Ayrapetyan
2851c59d97
Add noopt=1 option to override OPTION_OPTIMIZE to disable.
2014-08-21 17:48:26 +04:00
Ruben Ayrapetyan
d5f50ebd04
Add dbgsyms=1 option to override OPTION_DEBUG_SYMS to enable, OPTION_STRIP to disable.
2014-08-19 19:17:03 +04:00
Ruben Ayrapetyan
04dedd8f87
Adding 'make log' to list commits with commit testing notes.
2014-08-14 17:52:54 +04:00
Ruben Ayrapetyan
5ebc744511
Logging performance and memory benchmarks to git notes during precommit testing.
2014-08-14 17:28:41 +04:00
e.gavrin
887ac9c114
reduce number of mandatory precommit builds
2014-08-08 22:24:40 +04:00
e.gavrin
6506147ebb
Temporaly remove sanitize builds from precommit(until fixed), fix mistype in rss_measure.sh
2014-08-08 11:22:07 +04:00
Ruben Ayrapetyan
4ff5042abc
Enabling full testing mode during pre-commit.
2014-08-06 15:54:37 +04:00
Ruben Ayrapetyan
084ca2325c
Implementing __printf. Setting libc_raw as default libc. Removing LIBC_STD mode.
2014-08-06 15:00:33 +04:00
Ruben Ayrapetyan
6c01782e91
Hiding *.check targets. Enablings pre-commit parse-only tests from ./benchmarks/jerry except cse.js and chess.js. Making tests named beginning from N to be skipped in jerry_test.sh. Renaming cse.js and chess.js to N.cse.js, N.chess.js.
2014-08-06 13:49:51 +04:00
Ruben Ayrapetyan
adfa6d3576
Adding -s (silent) flag to make command line in tools/push.sh.
2014-08-05 15:37:16 +04:00
Ruben Ayrapetyan
9f56d42ceb
Adding push target. Handling empty commit list by early exit. Successful push message coloring.
2014-08-05 15:24:37 +04:00
Ruben Ayrapetyan
eb233804d7
Removing git status checking from 'make precommit'.
2014-08-05 13:55:59 +04:00
Ruben Ayrapetyan
78a782b791
Fixing text of message in precommit script.
2014-08-05 12:50:58 +04:00
Ruben Ayrapetyan
0f8798aa1f
Removing '.SILENT' special target.
2014-08-05 12:49:46 +04:00
Ruben Ayrapetyan
c5930c8775
Adding new line after 'OK to push' message.
2014-08-04 22:14:26 +04:00
Ruben Ayrapetyan
8c2e5b1f7a
Fixing command that excludes 'out' directory from list outputted by git status for checking if Git status of directory is clean.
2014-08-04 22:10:42 +04:00
Ruben Ayrapetyan
304098a984
Introducing make target for precommit testing: 'make precommit' that also supports parallel run: 'make -j precommit'. Introducing set of modifiers for linux target: libc_raw, musl, sanitize, valgrind. For example: 'make debug.linux-libc_raw-sanitize' or 'make release.linux-valgrind'. Removing corresponding flags.
2014-08-04 22:02:48 +04:00
Ruben Ayrapetyan
e1c57dc231
Adding valgrind's memcheck support in mem-heap. Adding valgrind's headers valgrind.h and memcheck.h to third-party/valgrind directory.
2014-08-01 18:22:34 +04:00
Ruben Ayrapetyan
61dd7a5dd9
nostdlib under libc_raw=1 option.
2014-08-01 15:49:27 +04:00
e.gavrin
7ba8167591
Add exports
2014-07-31 22:11:46 +04:00
e.gavrin
2c193c1e2b
Rename Makefile.mak -> Makefile.mk; Replace -O0 -> -Og
2014-07-31 21:59:35 +04:00
Ruben Ayrapetyan
7bca73b8be
Removing build targets from 'all' because check targets call build targets themself.
2014-07-30 15:08:50 +04:00
Ruben Ayrapetyan
8d387cd32f
Introducing make parameters todo, fixme and echo: todo/fixme enable printing of todo/fixme pragma messages if set to 1 (that are disabled by default after this commit); echo enables compilation/linking command line echoing if set to 1.
2014-07-29 14:52:42 +04:00
Ilmir Usmanov
306f111a28
Add 'make testparser' option to test parser only
2014-07-28 17:28:18 +04:00
Ruben Ayrapetyan
361e5a6f38
Use -gdwarf-3 by default, -gdwarf-4 if dwarf4=1 option is passed to make.
2014-07-25 13:51:35 +04:00
Ruben Ayrapetyan
7f918612c1
Removing 'dev.*' targets.
2014-07-24 21:19:34 +04:00
Ruben Ayrapetyan
c0232c45f3
Redirecting all build's and tests' output to out/$(TARGET)/{.,obj,check}. Make clean now is rm -rf ./out.
2014-07-17 14:46:50 +04:00
Ruben Ayrapetyan
b4cafc2ae8
Removing *.linux.flash targets. Adding dependency from check, flash to target of an action, fix path used in flash action. Temporarily changing --error-exitcode parameter of cppcheck to 0.
2014-07-14 21:00:40 +04:00
Ruben Ayrapetyan
7a2397f235
Introducing new make targets scheme: {dev,debug,release,debug_release}.{linux,stm32f{4}}[.{check,flash}].
2014-07-14 20:10:46 +04:00