Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withNoExplicitNativeServicesDir (0.32 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/GradleNativeIntegrationTest.groovy

    @LeaksFileHandles // Cannot delete `native-platform.dll`
    class GradleNativeIntegrationTest extends AbstractIntegrationSpec {
        def "caches native binaries in specified user home"() {
            given:
            executer.withNoExplicitNativeServicesDir()
            executer.requireOwnGradleUserHomeDir()
            executer.requireDaemon().requireIsolatedDaemons()
    
            when:
            succeeds "help"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/initialization/InternalGradleFailuresIntegrationTest.groovy

            given:
            executer.withStacktraceEnabled()
            def nativeDir = executer.gradleUserHomeDir.file("native")
            nativeDir.touch()
            executer.withNoExplicitNativeServicesDir()
    
            when:
            fails 'hello'
    
            then:
            nativeDir.isFile()
            assertHasStartupFailure(failure, "Could not initialize native services.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            // a project dir to avoid file lock issues on Windows due to native services being loaded
            executer.withGradleUserHomeDir(tmpDir.testDirectory).withNoExplicitNativeServicesDir()
            nativeDir = new File(executer.gradleUserHomeDir, 'native')
            executer.withArguments(systemProperties.collect { it.toString() })
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         *
         * @return this executer
         */
        GradleExecuter withBuildCacheEnabled();
    
        /**
         * Don't set native services dir explicitly.
         */
        GradleExecuter withNoExplicitNativeServicesDir();
    
        /**
         * Enables the rendering of stack traces for deprecation logging.
         */
        GradleExecuter withFullDeprecationStackTraceEnabled();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            if (defaultCharacterEncoding != null) {
                executer.withDefaultCharacterEncoding(defaultCharacterEncoding);
            }
            if (noExplicitNativeServicesDir) {
                executer.withNoExplicitNativeServicesDir();
            }
            if (fullDeprecationStackTrace) {
                executer.withFullDeprecationStackTraceEnabled();
            }
            if (defaultLocale != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top