Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
*.md text working-tree-encoding=utf-8 git-encoding=utf-8 eol=lf
*.sh text eol=lf

src/benchmarks/micro/coreclr/BenchmarksGame/Inputs/knucleotide-input-big.txt text eol=lf
src/benchmarks/micro/coreclr/BenchmarksGame/Inputs/knucleotide-input.txt text eol=lf
src/benchmarks/micro/coreclr/BenchmarksGame/Inputs/regexdna-input25.txt text eol=lf
src/benchmarks/micro/coreclr/BenchmarksGame/Inputs/regexdna-input25000.txt text eol=lf
src/benchmarks/micro/coreclr/BenchmarksGame/Inputs/revcomp-input25.txt text eol=lf
src/benchmarks/micro/coreclr/BenchmarksGame/Inputs/revcomp-input25000.txt text eol=lf
src/benchmarks/micro/corefx/System.IO.Compression/TestData/sum text eol=lf
src/benchmarks/micro/corefx/System.IO.Compression/TestData/alice29.txt text eol=lf
src/benchmarks/micro/corefx/System.Text.RegularExpressions/content/200_000.in text eol=lf
src/benchmarks/micro/runtime/BenchmarksGame/Inputs/knucleotide-input-big.txt text eol=lf
src/benchmarks/micro/runtime/BenchmarksGame/Inputs/knucleotide-input.txt text eol=lf
src/benchmarks/micro/runtime/BenchmarksGame/Inputs/regexdna-input25.txt text eol=lf
src/benchmarks/micro/runtime/BenchmarksGame/Inputs/regexdna-input25000.txt text eol=lf
src/benchmarks/micro/runtime/BenchmarksGame/Inputs/revcomp-input25.txt text eol=lf
src/benchmarks/micro/runtime/BenchmarksGame/Inputs/revcomp-input25000.txt text eol=lf
src/benchmarks/micro/libraries/System.IO.Compression/TestData/sum text eol=lf
src/benchmarks/micro/libraries/System.IO.Compression/TestData/alice29.txt text eol=lf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public CompressedFile(string fileName, CompressionLevel compressionLevel, Func<S
internal static string GetFilePath(string fileName)
=> Path.Combine(
Path.GetDirectoryName(typeof(CompressedFile).Assembly.Location),
"corefx", "System.IO.Compression", "TestData",
"libraries", "System.IO.Compression", "TestData",
fileName);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static class Certificates

private static X509Certificate2 GetCertificate(string certificateFileName)
=> new X509Certificate2(
File.ReadAllBytes(Path.Combine("corefx", "System.Net.Http", certificateFileName)),
File.ReadAllBytes(Path.Combine("libraries", "System.Net.Http", certificateFileName)),
CertificatePassword,
X509KeyStorageFlags.DefaultKeySet);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ internal static string FindInputFile(string inputFile)
internal static int GetFileLength(string filePath) => (int) new FileInfo(filePath).Length;

private static string GetFullPath(string fileName)
=> Path.Combine(Path.GetDirectoryName(typeof(InputFileHelper).Assembly.Location), "coreclr", "BenchmarksGame", "Inputs", fileName);
=> Path.Combine(Path.GetDirectoryName(typeof(InputFileHelper).Assembly.Location), "runtime", "BenchmarksGame", "Inputs", fileName);
}
}