summaryrefslogtreecommitdiff
path: root/tests/src/dir.targets
diff options
context:
space:
mode:
authorSwaroop Sridhar <swaroops@microsoft.com>2017-03-20 11:20:12 -0700
committerSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>2017-03-22 17:32:38 -0700
commitd532bfced676ac0e3051d2468ad01f793ab2fb84 (patch)
tree2ae0bbbb36ee7e5bc96a9516d571d9bcd63d3bcf /tests/src/dir.targets
parent69ad56379c0612489ec9467f7216501bd448b881 (diff)
downloadcoreclr-d532bfced676ac0e3051d2468ad01f793ab2fb84.tar.gz
coreclr-d532bfced676ac0e3051d2468ad01f793ab2fb84.tar.bz2
coreclr-d532bfced676ac0e3051d2468ad01f793ab2fb84.zip
Linker Testing: Use a central target for copying reflection roots.
Copy the test.refect.xml file (if one exists) as part of the AfterBuild job -- so that individual tests need not identify the CopyReflectionRoots explicitly as a default target.
Diffstat (limited to 'tests/src/dir.targets')
-rw-r--r--tests/src/dir.targets10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/src/dir.targets b/tests/src/dir.targets
index 336a0b03fa..08c77df7cf 100644
--- a/tests/src/dir.targets
+++ b/tests/src/dir.targets
@@ -184,9 +184,9 @@
</Target>
- <Target Name="CopyReflectionRoots">
- <Copy SourceFiles="$(AssemblyName).reflect.xml"
- DestinationFolder="$(OutputPath)"
- Condition="Exists('$(AssemblyName).reflect.xml')"/>
- </Target>
+ <Target Name="AfterBuild">
+ <Copy SourceFiles="$(AssemblyName).reflect.xml"
+ DestinationFolder="$(OutputPath)"
+ Condition="Exists('$(AssemblyName).reflect.xml')"/>
+ </Target>
</Project>