diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/test cases/common/150 reserved targets | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/test cases/common/150 reserved targets')
22 files changed, 63 insertions, 0 deletions
diff --git a/meson/test cases/common/150 reserved targets/all/meson.build b/meson/test cases/common/150 reserved targets/all/meson.build new file mode 100644 index 000000000..adee88214 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/all/meson.build @@ -0,0 +1 @@ +executable('test-all', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/benchmark/meson.build b/meson/test cases/common/150 reserved targets/benchmark/meson.build new file mode 100644 index 000000000..242cc235d --- /dev/null +++ b/meson/test cases/common/150 reserved targets/benchmark/meson.build @@ -0,0 +1 @@ +executable('test-benchmark', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/clean-ctlist/meson.build b/meson/test cases/common/150 reserved targets/clean-ctlist/meson.build new file mode 100644 index 000000000..75eb207db --- /dev/null +++ b/meson/test cases/common/150 reserved targets/clean-ctlist/meson.build @@ -0,0 +1 @@ +executable('test-clean-ctlist', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/clean-gcda/meson.build b/meson/test cases/common/150 reserved targets/clean-gcda/meson.build new file mode 100644 index 000000000..488a527fc --- /dev/null +++ b/meson/test cases/common/150 reserved targets/clean-gcda/meson.build @@ -0,0 +1 @@ +executable('test-clean-gcda', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/clean-gcno/meson.build b/meson/test cases/common/150 reserved targets/clean-gcno/meson.build new file mode 100644 index 000000000..eec789ac2 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/clean-gcno/meson.build @@ -0,0 +1 @@ +executable('test-clean-gcno', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/clean/meson.build b/meson/test cases/common/150 reserved targets/clean/meson.build new file mode 100644 index 000000000..4e27b6c27 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/clean/meson.build @@ -0,0 +1 @@ +executable('test-clean', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/coverage-html/meson.build b/meson/test cases/common/150 reserved targets/coverage-html/meson.build new file mode 100644 index 000000000..10a4cc89b --- /dev/null +++ b/meson/test cases/common/150 reserved targets/coverage-html/meson.build @@ -0,0 +1 @@ +executable('test-coverage-html', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/coverage-text/meson.build b/meson/test cases/common/150 reserved targets/coverage-text/meson.build new file mode 100644 index 000000000..21dcae5fe --- /dev/null +++ b/meson/test cases/common/150 reserved targets/coverage-text/meson.build @@ -0,0 +1 @@ +executable('test-coverage-text', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/coverage-xml/meson.build b/meson/test cases/common/150 reserved targets/coverage-xml/meson.build new file mode 100644 index 000000000..44d7bfbe3 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/coverage-xml/meson.build @@ -0,0 +1 @@ +executable('test-coverage-xml', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/coverage/meson.build b/meson/test cases/common/150 reserved targets/coverage/meson.build new file mode 100644 index 000000000..b40105550 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/coverage/meson.build @@ -0,0 +1 @@ +executable('test-coverage', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/dist/meson.build b/meson/test cases/common/150 reserved targets/dist/meson.build new file mode 100644 index 000000000..951bbb4da --- /dev/null +++ b/meson/test cases/common/150 reserved targets/dist/meson.build @@ -0,0 +1 @@ +executable('test-dist', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/distcheck/meson.build b/meson/test cases/common/150 reserved targets/distcheck/meson.build new file mode 100644 index 000000000..12b9328ad --- /dev/null +++ b/meson/test cases/common/150 reserved targets/distcheck/meson.build @@ -0,0 +1 @@ +executable('test-distcheck', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/install/meson.build b/meson/test cases/common/150 reserved targets/install/meson.build new file mode 100644 index 000000000..483990186 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/install/meson.build @@ -0,0 +1 @@ +executable('test-install', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/meson.build b/meson/test cases/common/150 reserved targets/meson.build new file mode 100644 index 000000000..24fd937bc --- /dev/null +++ b/meson/test cases/common/150 reserved targets/meson.build @@ -0,0 +1,34 @@ +project('reserved target names', 'c') + # FIXME: Setting this causes it to leak to all other tests + #default_options : ['b_coverage=true'] + +subdir('all') +subdir('benchmark') +subdir('clean') +subdir('clean-ctlist') +subdir('clean-gcda') +subdir('clean-gcno') +subdir('coverage') +subdir('coverage-html') +subdir('coverage-text') +subdir('coverage-xml') +subdir('dist') +subdir('distcheck') +subdir('install') +# We don't have a 'PHONY' directory because Windows and OSX +# choke horribly when there are two entries with the same +# name but different case. +subdir('phony') +subdir('reconfigure') +subdir('scan-build') +subdir('test') +subdir('uninstall') + +subdir('runtarget') + +py3 = import('python3').find_python() + +custom_target('ctlist-test', output : 'out.txt', + command : [py3, '-c', 'print("")'], + capture : true, + build_by_default : true) diff --git a/meson/test cases/common/150 reserved targets/phony/meson.build b/meson/test cases/common/150 reserved targets/phony/meson.build new file mode 100644 index 000000000..6710fc124 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/phony/meson.build @@ -0,0 +1 @@ +executable('test-phony', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/reconfigure/meson.build b/meson/test cases/common/150 reserved targets/reconfigure/meson.build new file mode 100644 index 000000000..c3ea3da8a --- /dev/null +++ b/meson/test cases/common/150 reserved targets/reconfigure/meson.build @@ -0,0 +1 @@ +executable('test-reconfigure', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/runtarget/echo.py b/meson/test cases/common/150 reserved targets/runtarget/echo.py new file mode 100644 index 000000000..7f9f17992 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/runtarget/echo.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python3 + +import sys + +if len(sys.argv) > 1: + print(sys.argv[1]) diff --git a/meson/test cases/common/150 reserved targets/runtarget/meson.build b/meson/test cases/common/150 reserved targets/runtarget/meson.build new file mode 100644 index 000000000..7ba0b8c02 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/runtarget/meson.build @@ -0,0 +1,2 @@ +configure_file(output : 'config.h', configuration: configuration_data()) +run_target('runtarget', command : [find_program('echo.py')]) diff --git a/meson/test cases/common/150 reserved targets/scan-build/meson.build b/meson/test cases/common/150 reserved targets/scan-build/meson.build new file mode 100644 index 000000000..100205346 --- /dev/null +++ b/meson/test cases/common/150 reserved targets/scan-build/meson.build @@ -0,0 +1 @@ +executable('test-scan-build', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/test.c b/meson/test cases/common/150 reserved targets/test.c new file mode 100644 index 000000000..03b2213bb --- /dev/null +++ b/meson/test cases/common/150 reserved targets/test.c @@ -0,0 +1,3 @@ +int main(void) { + return 0; +} diff --git a/meson/test cases/common/150 reserved targets/test/meson.build b/meson/test cases/common/150 reserved targets/test/meson.build new file mode 100644 index 000000000..4ab123cdd --- /dev/null +++ b/meson/test cases/common/150 reserved targets/test/meson.build @@ -0,0 +1 @@ +executable('test-test', '../test.c') diff --git a/meson/test cases/common/150 reserved targets/uninstall/meson.build b/meson/test cases/common/150 reserved targets/uninstall/meson.build new file mode 100644 index 000000000..21c6ca60d --- /dev/null +++ b/meson/test cases/common/150 reserved targets/uninstall/meson.build @@ -0,0 +1 @@ +executable('test-uninstall', '../test.c') |