Evgeny Gavrin
c6b4510c9a
Add script for performance testing.
...
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-08-11 16:14:35 +03:00
Evgeny Gavrin
ddc3f0d6e8
Remove nuttx from prerequisites.
...
Related issue: #313
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-07-08 13:17:14 +03:00
Ruben Ayrapetyan
7d53133fcb
Add unicode characters ranges, listed per category.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-07-02 17:37:21 +03:00
Evgeny Gavrin
1b55630b2a
Add parallel test262 runner.
...
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-07-01 15:20:11 +03:00
Evgeny Gavrin
505beadfeb
Fix failing prerequisites script.
...
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-06-30 20:17:01 +03:00
Evgeny Gavrin
444bd32d50
Add support of cross-compilation for linux-based targets.
...
Usage:
- Cross compile:
make debug.linux TOOLCHAIN=./build/configs/toolchain_linux_armv7l-el.cmake
- Build unittests
make unittests TOOLCHAIN=./build/configs/toolchain_linux_armv7l-el.cmake
- Run unittests on target board
./tools/runners/run-unittests-remote.sh <ip> <login> <pass>
- Run JavaScript test on target board
./tools/runners/run-tests-remote.sh debug.linux <ip> <login> <pass>
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-06-30 15:03:36 +03:00
Peter Gal
5dc44b1362
Fix MCU script transformation logic.
...
The old script behaved incorrectly as it replaced all '*' occurrences
with the list of files in the given directory.
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
2015-06-17 17:55:56 +02:00
Ruben Ayrapetyan
57c6c377af
Small enhancements of unit tests implementation style and fix of the tests' modules naming style.
...
- introducing TEST_RANDOMIZE macro for randomization of source data used in unit tests;
- replacing assert with JERRY_ASSERT;
- renaming test_* to test-*.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-06-13 16:10:36 +03:00
Andrey Shitov
55b43071d1
Add indentation checks for code inside classes and fix appeared issues.
...
Fix asserts in test_recordset.cpp.
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
2015-06-09 00:30:20 +03:00
Ruben Ayrapetyan
64522db972
Fix of checksum check in tools/prerequisites.sh.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-06-08 16:15:46 +03:00
Peter Gal
e5e876cf95
Fix test search in run-test-pass.sh
...
Using the find program with an argument "*" could lead to problems.
If there are ".js" files in the executing directory then the
shell replaces the asterisk with that filenames.
The fix is simple: quote the argument which has the asterisk.
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
2015-05-27 11:44:28 +02:00
Tamas Czene
7dfbc88cc0
Added Math functions
...
JerryScript-DCO-1.0-Signed-off-by: Tamas Czene tczene.u-szeged@partner.samsung.com
2015-05-19 18:09:12 +02:00
Ruben Ayrapetyan
ecbc2850ff
Support 'make push' for non-master branches.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-15 20:55:26 +03:00
Ruben Ayrapetyan
b5d8444c2c
Introducing chunked lists (list of nodes that exactly fit the heap chunk size).
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-15 14:52:13 +03:00
Andrey Shitov
9763a93df3
Add new coding style rules and fix appeared issues.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
2015-05-14 14:44:57 +03:00
Ruben Ayrapetyan
198afd0072
Signed-off-by checker in precommit testing script.
...
Related issue: #15 (https://github.com/Samsung/jerryscript/issues/15 ).
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-13 23:22:26 +03:00
Ruben Ayrapetyan
b8e43286cc
Increasing per-test timeout from 5s to 30s in precommit testing.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-09 22:41:20 +03:00
SaeHie Park
d0f30f5753
Prerequisites preparation fix for behind firewall.
...
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
2015-05-08 08:58:11 +09:00
Ruben Ayrapetyan
9b9e537d35
Printing memory consumption notes in tools/log.sh (make log).
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:54:51 +03:00
Ruben Ayrapetyan
ee77c4269d
Fixing RSS measurement in tools/mem_stats.sh: using mem_stats build for heap usage statistics and non-mem_stats build for RSS measurement.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:54:51 +03:00
Ruben Ayrapetyan
8c4765892f
Memory consumption measurement script.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:54:51 +03:00
Ruben Ayrapetyan
a057b77e26
Removing measurements of metrics other than maximum RSS of non-executable areas from tools/rss_measure.sh.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:54:50 +03:00
Ruben Ayrapetyan
6d9bea824d
Fixing tools/push.sh (removing commented code for adding / removing notes, restoring unintentionally removed variable with message text).
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:53:00 +03:00
Ruben Ayrapetyan
c2ec0414db
Fixing tools/push.sh (removing collection of build environment information and commented performance measurement code).
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 18:47:03 +03:00
Ruben Ayrapetyan
ef461e383a
Fixing scripts and configuration of cppcheck and vera++, adding some vera++ rules.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 15:16:35 +03:00
Ruben Ayrapetyan
5e3c9b59ef
Adding script for automatic download of prerequisites.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-30 15:16:31 +03:00
Ruben Ayrapetyan
b867822908
Fixing tools/generator.sh: escaping '"' character.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-29 20:38:44 +03:00
Ruben Ayrapetyan
19aea7a502
Fixing bash scripts: moving '#!/bin/bash' to top.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-04-29 20:36:41 +03:00
Ruben Ayrapetyan
9262a08835
Printing names of branches in 'make log'.
2015-04-10 11:35:36 +03:00
Ruben Ayrapetyan
bfb23ee967
Changing tools/runners/run-test-suite-test262.sh to produce combined report and output ok / fail statistics.
2015-04-01 18:12:15 +03:00
Ruben Ayrapetyan
90f017d000
Adding --graph and --branches options to git log invocation in tools/log.sh ('make log').
2015-04-01 13:45:29 +03:00
Ruben Ayrapetyan
3d2374acd5
Check that the only .gitignore file in repository is the ./.gitignore during precommit testing.
2015-03-26 21:43:23 +03:00
Ruben Ayrapetyan
8b38cd036b
Enabling vera++ run during precommit testing.
2015-02-17 19:56:41 +03:00
Ruben Ayrapetyan
ef004ef843
Revert "Enabling vera++ run during precommit testing."
...
This reverts commit 4c71200344dbebff7df2d9497ebdc7e02bd87eab.
2015-02-17 19:56:07 +03:00
Ruben Ayrapetyan
6379d8f4ad
Enabling vera++ run during precommit testing.
2015-02-17 19:49:53 +03:00
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
f3ff78b81b
Refinement of tools directory.
2015-02-10 20:21:01 +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
Ruben Ayrapetyan
b7e374fedc
Switching to CMake for build.
2015-02-09 20:56:01 +03:00
Ruben Ayrapetyan
4cd7f96acc
Suppressing 'member variable is not assigned in operator =' cppcheck warning, because of false positives.
2015-01-29 14:40:31 +03:00
Ruben Ayrapetyan
f96770a811
Adding '-min' option to tools/perf.sh: the option switches to output of minimum instead of average of performance measurements.
2014-12-19 21:37:26 +03:00
Ruben Ayrapetyan
5c4c47514a
Fixing new line marks output in tools/generator.sh.
2014-12-18 16:14:31 +03:00
Ruben Ayrapetyan
8349ad8ecf
Inter-commit performance comparison script.
2014-12-17 19:16:16 +03:00
Ruben Ayrapetyan
f7f0681698
Invoking tools/perf.sh in tools/run_benchmarks.sh.
2014-12-04 12:52:55 +03:00
Ruben Ayrapetyan
44ade941b1
Showing STM32F4 binary size notes in tools/log.sh.
2014-11-12 20:42:20 +03:00
Ruben Ayrapetyan
4875762cfc
Showing ARM Linux binary size notes in tools/log.sh.
2014-11-10 18:25:21 +03:00
Ruben Ayrapetyan
5c4d73f4a3
Fixing Ctrl-C handling in tools/push.sh.
2014-10-30 21:25:48 +03:00
Ruben Ayrapetyan
bc484e2048
Parallel tests run in tools/run_test_suite_test262.sh.
2014-10-30 21:25:48 +03:00
Ruben Ayrapetyan
290f6a7551
Passing file with test at first and sta-jerry.js as second in test262 runner.
...
This is necessary, because 'use strict' directive in test, if any, should appear at beginning of the code.
2014-10-30 21:25:47 +03:00