[gjs: 9/13] build: Install files needed for debugger tests



commit 1acff62c125da1829467936361fb5c3f8a7afa23
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Oct 20 16:52:59 2019 -0700

    build: Install files needed for debugger tests
    
    The installed tests have apparently been broken for quite a while,
    possibly since the debugger was introduced, because we were not
    installing all the necessary files.

 Makefile-insttest.am        | 6 +++++-
 installed-tests/meson.build | 3 +++
 2 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/Makefile-insttest.am b/Makefile-insttest.am
index 6aa24323..7404d488 100644
--- a/Makefile-insttest.am
+++ b/Makefile-insttest.am
@@ -32,7 +32,11 @@ installedtestmeta_DATA +=                    \
        $(NULL)
 jstests_DATA += $(jasmine_tests)
 jsscripttests_DATA += $(simple_tests)
-debuggertests_DATA += $(debugger_tests)
+debuggertests_DATA +=                  \
+       $(debugger_tests)               \
+       $(debugger_tests:%=%.js)        \
+       $(debugger_tests:%=%.output)    \
+       $(NULL)
 pkglib_LTLIBRARIES += libregress.la libwarnlib.la libgimarshallingtests.la
 
 %.test: %.js installed-tests/minijasmine.test.in Makefile
diff --git a/installed-tests/meson.build b/installed-tests/meson.build
index 5e2b5abf..3d2cf9e8 100644
--- a/installed-tests/meson.build
+++ b/installed-tests/meson.build
@@ -81,5 +81,8 @@ foreach test : debugger_tests
 
     if get_option('installed_tests')
         install_data(test_file, install_dir: installed_tests_dir / 'debugger')
+        install_data('debugger' / '@0  debugger js'.format(test),
+            'debugger' / '@0@.debugger.output'.format(test),
+            install_dir: installed_tests_dir / 'debugger')
     endif
 endforeach


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]