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:
@@ -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
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user