OSDN Git Service

* lib/target-supports-dg.exp (current_compiler_flags): New.
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2009 18:31:27 +0000 (18:31 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2009 18:31:27 +0000 (18:31 +0000)
commitf1a3ada1a31dd5264b8d9020cf8f2b27479615f5
tree68da84c270d2e72e9b06d0c45ebab9e948251a37
parentbbc3ff90e22b82f81e71cad675ed706e39aa9a9f
* lib/target-supports-dg.exp (current_compiler_flags): New.
(check-flags): Use it; do not access dg-test local variables.
(dg-skip-if): Do not access dg-test local variables.
(dg-xfail-run-if): Ditto.
(dg-shouldfail): Ditto.
* gcc.test-framework/test-framework.exp
(check_effective_target_def_nocache): New.
* gcc.test-framework/test-framework.awk: Handle scan tests.
* gcc.test-framework/dg-do-run-xrif-nocache-exp-XF.c: New test.
* gcc.test-framework/dg-error-nocache-exp-P.c: New test.
* gcc.test-framework/dg-nocache-scanasm-exp-XF.c: New test.
* gcc.test-framework/dg-warning-nocache-exp-P.c: New test.
* gcc.test-framework/dg-nocache-sif-exp-P.c: New test.
* gcc.test-framework/dg-nocache-sif-exp-U.c: New test.
* gcc.test-framework/dg-nocache-xif-exp-P.c: New test.
* gcc.test-framework/dg-do-run-sft-nocache-exp-P.c: New test.
* gcc.test-framework/dg-nocache-xif-exp-XP.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143165 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.test-framework/dg-do-run-sft-nocache-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-do-run-xrif-nocache-exp-XF.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-error-nocache-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-scanasm-exp-XF.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-sif-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-sif-exp-U.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-xif-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-nocache-xif-exp-XP.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/dg-warning-nocache-exp-P.c [new file with mode: 0644]
gcc/testsuite/gcc.test-framework/test-framework.awk
gcc/testsuite/gcc.test-framework/test-framework.exp
gcc/testsuite/lib/target-supports-dg.exp