[gjs/meson.msvc: 6/8] test/meson.build: Do not build on Windows



commit 8b8eabdd414fa2fe1182ebe6963b829977e69a85
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Oct 25 17:22:18 2019 +0800

    test/meson.build: Do not build on Windows
    
    The test program in test/ must be ported to Windows first, so don't
    build it on Windows for now.

 meson.build | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 78a322c3..5408b697 100644
--- a/meson.build
+++ b/meson.build
@@ -597,7 +597,12 @@ endif
 
 ### Tests and test setups ######################################################
 
-subdir('test')
+# Note: The test program in test/ needs to be ported
+#       to Windows before we can build it on Windows.
+if host_machine.system() != 'windows'
+    subdir('test')
+endif
+
 subdir('installed-tests')
 
 valgrind_environment = environment()


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