mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Both JS test suite and unit test logs can grow large as Makefile invokes run-test-suite.sh and run-unittests.sh with absolute paths to engines and test directories, which get then printed quite often. This patch adds code to the runner scripts to determine the longest directory path common to the current working directory, the invoked script, the test directory, and the engine (in case of JS tests). Then, when a path is to be printed, this common path component is skipped. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu