Akos Kiss
133fc6adfd
Whitespace cleanup: tab removal in tools directory
...
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2015-11-28 21:47:37 +01:00
Zsolt Borbély
f17f785b6e
Make tools/perf.sh executable
...
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
2015-11-18 09:49:01 +01:00
Ruben Ayrapetyan
4aaf829320
Fix handling of non-zero status code in tools/perf.sh.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-11-03 16:51:30 +03:00
Sung-Jae Lee
d34c8fb6c1
Merge pull request #638 from lemmaa/benchmark-on-mac-os-x
...
Fix benchmark scripts to run on Mac OS X
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2015-10-05 10:22:58 +09:00
Sung-Jae Lee
a007b6800c
Fix benchmark scripts to run on Mac OS X
...
- perf: bypass the regex interpreting error of 'sed'.
- rss-measure: use alternative way to measure approx. RSS.
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2015-09-21 11:48:14 +09:00
Sung-Jae Lee
cc7501309a
Support gcc in Mac OS X build
...
- if `gcc` exist, use `gcc` for build, otherwise use `cc(=clang)` for build.
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2015-09-17 01:06:11 +09:00
Sung-Jae Lee
e2bbd6f9de
Fix prerequisites setup error on Mac OS X
...
JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
2015-08-31 11:20:02 +09:00
Ruben Ayrapetyan
c3d8cfd73c
Add suppression of 'duplicateExpression' cppcheck rule, as it leads to false positives in expressions like static_assert (ENUM_VALUE == 0, "");.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-08-27 17:42:45 +03:00
Ruben Ayrapetyan
2e13c29331
Switch to cppcheck v1.69.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-08-27 17:08:10 +03:00
Ruben Ayrapetyan
264a832cc4
Implement prerequisites auto-update.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-08-27 17:08:10 +03:00
Evgeny Gavrin
ccfe1f1cd6
Remove 'if engine is executable' check.
...
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-08-19 15:41:33 +03:00
Evgeny Gavrin
59ce413df5
Enable ./tools/perf.sh to accept arguments with quotes.
...
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
2015-08-19 15:41:33 +03:00
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