[CMake] Move test .js files into testapiScripts
authordinfuehr@igalia.com <dinfuehr@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Mar 2019 19:14:43 +0000 (19:14 +0000)
committerdinfuehr@igalia.com <dinfuehr@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Mar 2019 19:14:43 +0000 (19:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195565

Reviewed by Yusuke Suzuki.

testapi expect .js file in the testapiScripts-directory.

* shell/CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243005 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/shell/CMakeLists.txt

index b915783..302f3cd 100644 (file)
@@ -1,3 +1,14 @@
+2019-03-15  Dominik Infuehr  <dinfuehr@igalia.com>
+
+        [CMake] Move test .js files into testapiScripts
+        https://bugs.webkit.org/show_bug.cgi?id=195565
+
+        Reviewed by Yusuke Suzuki.
+
+        testapi expect .js file in the testapiScripts-directory.
+
+        * shell/CMakeLists.txt:
+
 2019-03-15  Mark Lam  <mark.lam@apple.com>
 
         Gardening: add a missing exception check after r242991.
index 87153e3..1a4c508 100644 (file)
@@ -85,10 +85,10 @@ endif ()
 file(COPY
     "${JAVASCRIPTCORE_DIR}/API/tests/testapi.js"
     DESTINATION
-    ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
+    ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/testapiScripts
 )
 file(COPY
     "${JAVASCRIPTCORE_DIR}/API/tests/testapi-function-overrides.js"
     DESTINATION
-    ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
+    ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/testapiScripts
 )