[gjs/meson.msvc: 10/11] test/meson.build: Do not build on Windows



commit 3d6a8ed90054f8996955ac61c732532cfe8ff6d3
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 8eb66104..29a5d4e7 100644
--- a/meson.build
+++ b/meson.build
@@ -616,7 +616,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]