diff --git a/src/tests/meson.build b/src/tests/meson.build index 36fc818b1..3c6a0873d 100644 --- a/src/tests/meson.build +++ b/src/tests/meson.build @@ -6,6 +6,8 @@ mutter_test_sources = [ 'meta-gpu-test.h', 'meta-monitor-manager-test.c', 'meta-monitor-manager-test.h', + 'meta-ref-test.c', + 'meta-ref-test.h', 'meta-sensors-proxy-mock.c', 'meta-sensors-proxy-mock.h', 'meta-test-utils.c', @@ -200,11 +202,6 @@ anonymous_file_test = executable('anonymous-file-tests', install_dir: mutter_installed_tests_libexecdir, ) -ref_test_sources = [ - 'meta-ref-test.c', - 'meta-ref-test.h', -] - if have_native_tests native_kms_utils_tests = executable('mutter-native-kms-utils-tests', sources: [ @@ -224,7 +221,6 @@ if have_native_tests 'native-screen-cast.h', 'native-virtual-monitor.c', 'native-virtual-monitor.h', - ref_test_sources, ], include_directories: tests_includes, c_args: tests_c_args, @@ -247,7 +243,6 @@ if have_native_tests ref_test_sanity = executable('mutter-ref-test-sanity', sources: [ 'ref-test-sanity.c', - ref_test_sources, ], include_directories: tests_includes, c_args: tests_c_args, diff --git a/src/tests/meta-ref-test.h b/src/tests/meta-ref-test.h index 7a71e388f..b61179cd0 100644 --- a/src/tests/meta-ref-test.h +++ b/src/tests/meta-ref-test.h @@ -29,11 +29,13 @@ typedef enum _MetaReftestFlag META_REFTEST_FLAG_UPDATE_REF = 1 << 0, } MetaReftestFlag; +META_EXPORT void meta_ref_test_verify_view (ClutterStageView *view, const char *test_name, int test_seq_no, MetaReftestFlag flags); +META_EXPORT MetaReftestFlag meta_ref_test_determine_ref_test_flag (void); #endif /* META_REF_TEST_H */