[committed] coroutines, testsuite: Tidy some test names (NFC).

Message ID 34CEF893-6210-42FD-96E9-6FCA703EA7E6@sandoe.co.uk
State New
Headers show
Series
  • [committed] coroutines, testsuite: Tidy some test names (NFC).
Related show

Commit Message

Iain Sandoe April 22, 2020, 9:50 a.m.
Hi

Try to make sure that we have consistent and useful naming for the tests
before they get into the wild.

tested on x86_64-darwin16,
applied to master
thanks
Iain

gcc/testsuite/ChangeLog:

2020-04-22 Iain Sandoe <iain@sandoe.co.uk>

	* g++.dg/coroutines/torture/local-var-0.C: Rename to...
	* g++.dg/coroutines/torture/local-var-00-const.C: ...this.
	* g++.dg/coroutines/torture/local-var-1.C: Rename to...
	* g++.dg/coroutines/torture/local-var-01-single.C: ...this.
	* g++.dg/coroutines/torture/local-var-2.C: Rename to...
	* g++.dg/coroutines/torture/local-var-02-conditional.C: ...this.
	* g++.dg/coroutines/torture/local-var-3.C: Rename to...
	* g++.dg/coroutines/torture/local-var-03-with-awaits.C: ...this.
	* g++.dg/coroutines/torture/local-var-4.C: Rename to...
	* g++.dg/coroutines/torture/local-var-04-hiding-nested-scopes.C: this.
	* g++.dg/coroutines/torture/local-var-5-awaitable.C: Rename to...
	* g++.dg/coroutines/torture/local-var-05-awaitable.C: ...this.
---
 .../coroutines/torture/{local-var-0.C => local-var-00-const.C}    | 0
 .../coroutines/torture/{local-var-1.C => local-var-01-single.C}   | 0
 .../torture/{local-var-2.C => local-var-02-conditional.C}         | 0
 .../torture/{local-var-3.C => local-var-03-with-awaits.C}         | 0
 .../{local-var-4.C => local-var-04-hiding-nested-scopes.C}        | 0
 .../torture/{local-var-5-awaitable.C => local-var-05-awaitable.C} | 0
 6 files changed, 0 insertions(+), 0 deletions(-)
 rename gcc/testsuite/g++.dg/coroutines/torture/{local-var-0.C => local-var-00-const.C} (100%)
 rename gcc/testsuite/g++.dg/coroutines/torture/{local-var-1.C => local-var-01-single.C} (100%)
 rename gcc/testsuite/g++.dg/coroutines/torture/{local-var-2.C => local-var-02-conditional.C} (100%)
 rename gcc/testsuite/g++.dg/coroutines/torture/{local-var-3.C => local-var-03-with-awaits.C} (100%)
 rename gcc/testsuite/g++.dg/coroutines/torture/{local-var-4.C => local-var-04-hiding-nested-scopes.C} (100%)
 rename gcc/testsuite/g++.dg/coroutines/torture/{local-var-5-awaitable.C => local-var-05-awaitable.C} (100%)

-- 
2.24.1

Patch

diff --git a/gcc/testsuite/g++.dg/coroutines/torture/local-var-0.C b/gcc/testsuite/g++.dg/coroutines/torture/local-var-00-const.C
similarity index 100%
rename from gcc/testsuite/g++.dg/coroutines/torture/local-var-0.C
rename to gcc/testsuite/g++.dg/coroutines/torture/local-var-00-const.C
diff --git a/gcc/testsuite/g++.dg/coroutines/torture/local-var-1.C b/gcc/testsuite/g++.dg/coroutines/torture/local-var-01-single.C
similarity index 100%
rename from gcc/testsuite/g++.dg/coroutines/torture/local-var-1.C
rename to gcc/testsuite/g++.dg/coroutines/torture/local-var-01-single.C
diff --git a/gcc/testsuite/g++.dg/coroutines/torture/local-var-2.C b/gcc/testsuite/g++.dg/coroutines/torture/local-var-02-conditional.C
similarity index 100%
rename from gcc/testsuite/g++.dg/coroutines/torture/local-var-2.C
rename to gcc/testsuite/g++.dg/coroutines/torture/local-var-02-conditional.C
diff --git a/gcc/testsuite/g++.dg/coroutines/torture/local-var-3.C b/gcc/testsuite/g++.dg/coroutines/torture/local-var-03-with-awaits.C
similarity index 100%
rename from gcc/testsuite/g++.dg/coroutines/torture/local-var-3.C
rename to gcc/testsuite/g++.dg/coroutines/torture/local-var-03-with-awaits.C
diff --git a/gcc/testsuite/g++.dg/coroutines/torture/local-var-4.C b/gcc/testsuite/g++.dg/coroutines/torture/local-var-04-hiding-nested-scopes.C
similarity index 100%
rename from gcc/testsuite/g++.dg/coroutines/torture/local-var-4.C
rename to gcc/testsuite/g++.dg/coroutines/torture/local-var-04-hiding-nested-scopes.C
diff --git a/gcc/testsuite/g++.dg/coroutines/torture/local-var-5-awaitable.C b/gcc/testsuite/g++.dg/coroutines/torture/local-var-05-awaitable.C
similarity index 100%
rename from gcc/testsuite/g++.dg/coroutines/torture/local-var-5-awaitable.C
rename to gcc/testsuite/g++.dg/coroutines/torture/local-var-05-awaitable.C