Next:Commands for use indg-final, Previous:Features fordg-remove-options, Up:Directives used within DejaGnu tests [Contents][Index]
dg-require-support ¶A few of thedg-require directives take arguments.
dg-require-iconvcodesetSkip the test if the target does not support iconv.codeset isthe codeset to convert to.
dg-require-profilingprofoptSkip the test if the target does not support profiling with optionprofopt.
dg-require-stack-checkcheckSkip the test if the target does not support the-fstack-checkoption. Ifcheck is"", support for-fstack-checkis checked, for-fstack-check=("check") otherwise.
dg-require-stack-sizesizeSkip the test if the target does not support a stack size ofsize.
dg-require-visibilityvisSkip the test if the target does not support thevisibility attribute.Ifvis is"", support forvisibility("hidden") ischecked, forvisibility("vis") otherwise.
The originaldg-require directives were defined before therewas support for effective-target keywords. The directives that do nottake arguments could be replaced with effective-target keywords.
dg-require-alias ""Skip the test if the target does not support the ‘alias’ attribute.
dg-require-ascii-locale ""Skip the test if the host does not support an ASCII locale.
dg-require-compat-dfp ""Skip this test unless both compilers in acompat testsuitesupport decimal floating point.
dg-require-cxa-atexit ""Skip the test if the target does not support__cxa_atexit.This is equivalent todg-require-effective-target cxa_atexit.
dg-require-dll ""Skip the test if the target does not support DLL attributes.
dg-require-dot ""Skip the test if the host does not havedot.
dg-require-fork ""Skip the test if the target does not supportfork.
dg-require-gc-sections ""Skip the test if the target’s linker does not support the--gc-sections flags.This is equivalent todg-require-effective-target gc-sections.
dg-require-host-local ""Skip the test if the host is remote, rather than the same as the buildsystem. Some tests are incompatible with DejaGnu’s handling of remotehosts, which involves copying the source file to the host and compilingit with a relative path and "-o a.out".
dg-require-linker-plugin ""Skip the test is the target does not support the linker plugin.This is equivalent todg-require-effective-target linker_plugin.
dg-require-mkfifo ""Skip the test if the target does not supportmkfifo.
dg-require-named-sections ""Skip the test is the target does not support named sections.This is equivalent todg-require-effective-target named_sections.
dg-require-weak ""Skip the test if the target does not support weak symbols.
dg-require-weak-override ""Skip the test if the target does not support overriding weak symbols.
Next:Commands for use indg-final, Previous:Features fordg-remove-options, Up:Directives used within DejaGnu tests [Contents][Index]