summaryrefslogtreecommitdiff
path: root/x11/elementary-terminal/files/patch-src_meson.build
blob: 7c7e41ae6d2921e8d6c929c34326b3bd26032912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- src/meson.build.orig	2025-02-13 20:52:15 UTC
+++ src/meson.build
@@ -40,36 +40,3 @@ executable(
     dependencies: terminal_deps,
     install : true
 )
-
-# tests
-
-test_env = [
-    'G_TEST_SRCDIR=' + meson.current_source_dir(),
-    'G_TEST_BUILDDIR=' + meson.current_build_dir(),
-    'GSETTINGS_SCHEMA_DIR=' + meson.project_build_root() / 'data',
-    'GSETTINGS_BACKEND=memory',
-    'GIO_USE_VFS=local'
-]
-
-add_test_setup(
-  'headless',
-  exe_wrapper: [ find_program('xvfb-run'), '-a', '-s', '-screen 0 1024x768x24 -noreset' ],
-  is_default: true
-)
-
-app_test = executable(
-    meson.project_name() + '.tests.application',
-    terminal_sources + 'tests/Application.vala',
-    dependencies: terminal_deps,
-    vala_args: [ '--define', 'TESTS']
-)
-
-test(
-    'Application',
-    app_test,
-    env: test_env,
-    protocol: 'tap',
-    depends: test_schemas
-)
-
-subdir('tests')