diff mbox series

[COMMITTED] elf/Makefile: Split and sort PIE tests

Message ID 20240525215644.323491-1-hjl.tools@gmail.com
State New
Headers show
Series [COMMITTED] elf/Makefile: Split and sort PIE tests | expand

Commit Message

H.J. Lu May 25, 2024, 9:56 p.m. UTC
Put each item on a separate line and sort PIE tests.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
---
 elf/Makefile | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/elf/Makefile b/elf/Makefile
index 280e777c19..57b3a19d36 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1033,9 +1033,19 @@  test-xfail-tst-protected1b = yes
 endif
 ifeq (yesyes,$(have-fpie)$(build-shared))
 modules-names += tst-piemod1
-tests += tst-pie1 tst-pie2 tst-dlopen-pie tst-dlopen-tlsmodid-pie \
-  tst-dlopen-self-pie
-tests-pie += tst-pie1 tst-pie2 tst-dlopen-tlsmodid-pie tst-dlopen-self-pie
+tests += \
+  tst-dlopen-pie \
+  tst-dlopen-self-pie \
+  tst-dlopen-tlsmodid-pie \
+  tst-pie1 \
+  tst-pie2 \
+  # tests
+tests-pie += \
+  tst-dlopen-self-pie \
+  tst-dlopen-tlsmodid-pie \
+  tst-pie1 \
+  tst-pie2 \
+  # tests-pie
 ifeq (yes,$(have-protected-data))
 tests += vismain
 tests-pie += vismain