Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for tempdir (0.12 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/DefaultGeneratedGradleJarCacheIntegrationTest.groovy

        def currentGradleVersion = GradleVersion.current()
        def scopeMapping = new DefaultCacheScopeMapping(tmpDir.testDirectory, currentGradleVersion)
        def cacheRepository = new DefaultUnscopedCacheBuilderFactory(factory)
        def globalScopedCache = new DefaultGlobalScopedCacheBuilderFactory(tmpDir.testDirectory, cacheRepository)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

            when:
            String customTmpDir = System.getProperty('java.io.tmpdir') + System.getProperty('path.separator') + 'custom'
            runTask {
                withSystemProperties('java.io.tmpdir' : customTmpDir)
            }
    
            then:
            hasNoSystemProperty('java.io.tmpdir', customTmpDir)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

        void "considers system properties for null user home dir"() {
            def gradleUserHome = tmpDir.file("someGradleUserHomePath")
            System.setProperty(StartParameter.GRADLE_USER_HOME_PROPERTY_KEY, gradleUserHome.absolutePath)
    
            given:
            StartParameter parameter = new StartParameter()
            parameter.gradleUserHomeDir = tmpDir.file("ignore-me")
    
            when:
            parameter.gradleUserHomeDir = null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            // However, in this case the test requires a directory that is not located under any Gradle build. So use
            // the 'java.io.tmpdir' system property directly
            TestFile tmpDir = new TestFile(System.getProperty("java.io.tmpdir"))
            def undefinedBuildDirectory = Files.createTempDirectory(tmpDir.toPath(), "gradle").toFile()
            testDirOverride = new TestFile(undefinedBuildDirectory)
            assertNoDefinedBuild(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

      echo "Using cached image $IMG, created $(<<<"$latest" cut -d~ -f3)" >&2
    fi
    
    ENV_BLOCKLIST="${ENV_BLOCKLIST:-^_\|^PATH=\|^GOPATH=\|^GOROOT=\|^SHELL=\|^EDITOR=\|^TMUX=\|^USER=\|^HOME=\|^PWD=\|^TERM=\|^RUBY_\|^GEM_\|^rvm_\|^SSH=\|^TMPDIR=\|^CC=\|^CXX=\|^MAKEFILE_LIST=}"
    
    # Remove functions from the list of exported variables, they mess up with the `env` command.
    for f in $(declare -F -x | cut -d ' ' -f 3);
    do
      unset -f "${f}"
    done
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedInputAccessListener.kt

        "java.library.path",
        "java.compiler",
        "file.separator",
        "path.separator",
        "line.separator",
        "user.name",
        "user.home",
        "java.runtime.version"
        // Not java.io.tmpdir and user.dir at this stage
    )
    
    
    @ServiceScope(Scope.BuildTree::class)
    internal
    class InstrumentedInputAccessListener(
        listenerManager: ListenerManager,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

                if (tmpDir == null) {
                    tmpDir = getDefaultTmpDir();
                }
                String tmpDirPath = tmpDir.createDir().getAbsolutePath();
                if (!tmpDirPath.contains(" ") || (getDistribution().isSupportsSpacesInGradleAndJavaOpts() && supportsWhiteSpaceInEnvVars())) {
                    properties.put("java.io.tmpdir", tmpDirPath);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

                "java.compiler",
                "file.separator",
                "path.separator",
                "line.separator",
                "user.name",
                "user.home"
                // Not java.io.tmpdir and user.dir at this stage
            ]
        }
    
        def "system property set at the configuration phase is restored when running from cache"() {
            given:
            buildFile("""
                $propertySetter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    			wait()
    			return nil
    		})
    	})
    
    	readDirFn(pathJoin(drivePath, minioMetaTmpBucket), func(tmpDir string, typ os.FileMode) error {
    		if strings.HasPrefix(tmpDir, ".trash") {
    			// do not remove .trash/ here, it has its own routines
    			return nil
    		}
    		vi, err := disk.StatVol(ctx, pathJoin(minioMetaTmpBucket, tmpDir))
    		if err != nil {
    			return nil
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

          return info.param.mat_mul_method;
        });
    
    TEST(LegalizeTFTest, DumpsProducedHLO) {
      Env* env = Env::Default();
      std::string test_dir = testing::TmpDir();
      setenv("TF_DUMP_GRAPH_PREFIX", test_dir.c_str(), /*overwrite=*/1);
      setenv("TF_DUMP_GRAPH_NAME_FILTER", "*", 1);
      DEBUG_DATA_DUMPER()->LoadEnvvars();
    
      std::vector<std::string> files;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top