[gjs/meson.msvc: 4/5] test/meson.build: Do not build on Windows



commit 9d4d954b5a13350508b7e433fdfadbfa3b0d1651
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 f4d3458d..ef6afa41 100644
--- a/meson.build
+++ b/meson.build
@@ -612,7 +612,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]