summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Directed
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2015-11-02 13:48:31 +0100
committerAlexander Köplinger <alex.koeplinger@outlook.com>2015-11-02 20:42:50 +0100
commitabad1fd7bf8a33bbaa1a6982d2a6d61647c4464c (patch)
tree26d55f816eb675fdf99119f3025ebc5c0f1ef520 /tests/src/JIT/Directed
parent83b2cb83b32faa45b4f790237b5c5e259692294a (diff)
downloadcoreclr-abad1fd7bf8a33bbaa1a6982d2a6d61647c4464c.tar.gz
coreclr-abad1fd7bf8a33bbaa1a6982d2a6d61647c4464c.tar.bz2
coreclr-abad1fd7bf8a33bbaa1a6982d2a6d61647c4464c.zip
Remove Env helper class in tests
It's not used in a lot of places and just makes life more complicated, because Utilities.IsWindows is hardcoded to true right now (which should be fixed separately). See https://github.com/dotnet/coreclr/pull/1907 for some details.
Diffstat (limited to 'tests/src/JIT/Directed')
-rw-r--r--tests/src/JIT/Directed/intrinsic/pow/pow1.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/src/JIT/Directed/intrinsic/pow/pow1.cs b/tests/src/JIT/Directed/intrinsic/pow/pow1.cs
index ef7cfd4aae..faf4bcf5a3 100644
--- a/tests/src/JIT/Directed/intrinsic/pow/pow1.cs
+++ b/tests/src/JIT/Directed/intrinsic/pow/pow1.cs
@@ -18,11 +18,7 @@ internal class pow1
string processorArchEnvVar = null;
-#if CORECLR
- processorArchEnvVar = TestLibrary.Env.GetEnvVariable("PROCESSOR_ARCHITECTURE");
-#else
processorArchEnvVar = Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE");
-#endif
if ((processorArchEnvVar != null) && processorArchEnvVar.Equals("ARM", StringComparison.CurrentCultureIgnoreCase))
{