Split unit tests into separate directories (#1761)

The unit tests should follow the component structure, so this patch
moves all `jerry-core` unit tests under `tests/unit-core` and the
`jerry-libm` unit tests under `tests/unit-libm`.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2017-04-22 03:57:45 +02:00
committed by yichoi
parent 66ade0d81c
commit 6ca8319aea
20 changed files with 60 additions and 15 deletions
+1 -1
View File
@@ -15,5 +15,5 @@
# limitations under the License.
make -C tools/unit-tests build
tools/unit-tests/gen-test-libm >tests/unit/test-libm.inc.h
tools/unit-tests/gen-test-libm >tests/unit-libm/test-libm.inc.h
make -C tools/unit-tests clean
+4 -5
View File
@@ -32,7 +32,7 @@
int
main (int argc, char **args)
{
printf ("/* Copyright JS Foundation and other contributors, http://js.foundation
printf ("/* Copyright JS Foundation and other contributors, http://js.foundation\n"
" *\n"
" * Licensed under the Apache License, Version 2.0 (the \"License\");\n"
" * you may not use this file except in compliance with the License.\n"
@@ -47,10 +47,9 @@ main (int argc, char **args)
" * limitations under the License.\n"
" */\n"
"\n"
"/*\n"
" * Generated by tools/gen-test-libm.sh\n"
" * DO NOT EDIT!!!\n"
" */\n");
"/* This file is automatically generated by the gen-test-libm.sh script.\n"
" * Do not edit! */\n"
"\n");
/* acos tests */
GEN_DBL_TEST (acos (0.0));