Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use shorter path for cacheDir since on Windows MAX_PATH is 260 #80

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ public class SharedClassesAPI implements SharedClassesPluginInterface {
private enum Tests {
// expected usesDefault uses usesGroup uses
// Test CacheCount api Location Utilities Access IteratorCache
DefaultLocationGroupAccessJava( 5, "java", true, false, true, false),
DefaultLocationUtilitiesJava( 5, "java", true, true, false, false),
DefinedLocationGroupAccessJava( 4, "java", false, false, true, false),
DefinedLocationUtilitiesJava( 4, "java", false, true, false, false),
DefinedLocationFromCommandLineJava( 5, "java", false, false, true, true),
DefaultLocationGroupAccessJVMTI( 5, "jvmti", true, false, true, false),
DefaultLocationUtilitiesJVMTI( 4, "jvmti", true, true, false, false),
DefinedLocationGroupAccessJVMTI( 4, "jvmti", false, false, true, false),
DefinedLocationUtilitiesJVMTI( 4, "jvmti", false, true, false, false),
DefinedLocationFromCommandLineJVMTI( 5, "jvmti", false, false, true, true);
DefaultLocGrpAccessJava ( 5, "java", true, false, true, false),
DefaultLocUtilitiesJava ( 5, "java", true, true, false, false),
DefinedLocGrpAccessJava ( 4, "java", false, false, true, false),
DefinedLocUtilitiesJava ( 4, "java", false, true, false, false),
DefinedLocFromCmdLineJava ( 5, "java", false, false, true, true),
DefaultLocGrpAccessJVMTI ( 5, "jvmti", true, false, true, false),
DefaultLocUtilitiesJVMTI ( 4, "jvmti", true, true, false, false),
DefinedLocGroupAccessJVMTI ( 4, "jvmti", false, false, true, false),
DefinedLocUtilitiesJVMTI ( 4, "jvmti", false, true, false, false),
DefinedLocFromCmdLineJVMTI ( 5, "jvmti", false, false, true, true);

private int expectedCacheCount;
private String api;
Expand Down Expand Up @@ -107,7 +107,7 @@ public void help(HelpTextGenerator help) {

public void pluginInit(StfCoreExtension test, StfSharedClassesExtension sharedClasses) throws Exception {
// Define the location for caches.
cacheDirLocation = test.env().getResultsDir().childDirectory("caches");
cacheDirLocation = test.env().getResultsDir();

// Define the location for the configuration files.
configDirLocation = test.env().getResultsDir().childDirectory("config");
Expand Down