[lld] r323488 - Rename a test file.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 17:01:21 PST 2018


Author: ruiu
Date: Thu Jan 25 17:01:21 2018
New Revision: 323488

URL: http://llvm.org/viewvc/llvm-project?rev=323488&view=rev
Log:
Rename a test file.

A test for option /foo is usually named foo.test, but this test
file is not for the /order option, so rename it to avoid confusion.

Added:
    lld/trunk/test/COFF/section-order.test
Removed:
    lld/trunk/test/COFF/order.test

Removed: lld/trunk/test/COFF/order.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/order.test?rev=323487&view=auto
==============================================================================
--- lld/trunk/test/COFF/order.test (original)
+++ lld/trunk/test/COFF/order.test (removed)
@@ -1,15 +0,0 @@
-# RUN: yaml2obj < %p/Inputs/include1a.yaml > %t1.obj
-# RUN: yaml2obj < %p/Inputs/include1b.yaml > %t2.obj
-# RUN: yaml2obj < %p/Inputs/include1c.yaml > %t3.obj
-# RUN: rm -f %t2.lib %t3.lib
-# RUN: llvm-ar cru %t2.lib %t2.obj
-# RUN: llvm-ar cru %t3.lib %t3.obj
-# RUN: lld-link /out:%t.exe /entry:main \
-# RUN:   %t1.obj %t2.lib %t3.obj %t3.lib /verbose >& %t.log
-# RUN: FileCheck %s < %t.log
-
-CHECK: order.test.tmp1.obj
-CHECK: order.test.tmp2.lib
-CHECK: order.test.tmp3.obj
-CHECK: order.test.tmp3.lib
-CHECK: order.test.tmp2.lib(order.test.tmp2.obj) for foo

Added: lld/trunk/test/COFF/section-order.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/section-order.test?rev=323488&view=auto
==============================================================================
--- lld/trunk/test/COFF/section-order.test (added)
+++ lld/trunk/test/COFF/section-order.test Thu Jan 25 17:01:21 2018
@@ -0,0 +1,15 @@
+# RUN: yaml2obj < %p/Inputs/include1a.yaml > %t1.obj
+# RUN: yaml2obj < %p/Inputs/include1b.yaml > %t2.obj
+# RUN: yaml2obj < %p/Inputs/include1c.yaml > %t3.obj
+# RUN: rm -f %t2.lib %t3.lib
+# RUN: llvm-ar cru %t2.lib %t2.obj
+# RUN: llvm-ar cru %t3.lib %t3.obj
+# RUN: lld-link /out:%t.exe /entry:main \
+# RUN:   %t1.obj %t2.lib %t3.obj %t3.lib /verbose >& %t.log
+# RUN: FileCheck %s < %t.log
+
+CHECK: section-order.test.tmp1.obj
+CHECK: section-order.test.tmp2.lib
+CHECK: section-order.test.tmp3.obj
+CHECK: section-order.test.tmp3.lib
+CHECK: section-order.test.tmp2.lib(section-order.test.tmp2.obj) for foo




More information about the llvm-commits mailing list