[COMMITTED,1/5] testsuite: libgomp: fix dg-do run typo

Message ID a6c399a3703d69e42d104fd807129eb1f85eb60e.1722438509.git.sam@gentoo.org
State Committed
Commit 1c85b16f1916397886a53b70ef360618b5df7977
Headers
Series [COMMITTED,1/5] testsuite: libgomp: fix dg-do run typo |

Commit Message

Sam James July 31, 2024, 3:08 p.m. UTC
  'dg-run' is not a valid dejagnu directive, 'dg-do run' is needed here
for the test to be executed.

That said, it actually seems to be executed for me anyway, presumably
a default in the directory, but let's fix it to be consistent with
other uses in the tree and in that test directory even.

libgomp/ChangeLog:
	* testsuite/libgomp.c++/declare-target-indirect-1.C: Fix 'dg-run' typo.
---
Committed as obvious.

 libgomp/testsuite/libgomp.c++/declare-target-indirect-1.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/libgomp/testsuite/libgomp.c++/declare-target-indirect-1.C b/libgomp/testsuite/libgomp.c++/declare-target-indirect-1.C
index 1eac6b3fa96b..bd84b492feec 100644
--- a/libgomp/testsuite/libgomp.c++/declare-target-indirect-1.C
+++ b/libgomp/testsuite/libgomp.c++/declare-target-indirect-1.C
@@ -1,4 +1,4 @@ 
-// { dg-run }
+// { dg-do run }
 
 #pragma omp begin declare target indirect
 class C