Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,359 for Executable (0.24 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

            result.assertTasksNotSkipped(assembleAppTasks)
            executable("build/exe/main/debug/App").exec().out == app.expectedOutput
    
            when:
            app.applyChangesToProject(testDirectory)
            succeeds "assemble"
    
            then:
            result.assertTasksExecuted(assembleAppTasks)
            result.assertTasksNotSkipped(assembleAppTasks)
            executable("build/exe/main/debug/App").exec().out == app.expectedAlternateOutput
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppApplicationInitIntegrationTest.groovy

            then:
            executed(":app:test")
    
            and:
            executable("${subprojectName()}/build/exe/main/debug/app").exec().out ==  "Hola, Mundo!\n"
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        ExecutableFixture executable(String path) {
            AvailableToolChains.defaultToolChain.executable(targetDir.file(path))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/os/executable_wasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build wasm
    
    package os
    
    import (
    	"errors"
    	"runtime"
    )
    
    func executable() (string, error) {
    	return "", errors.New("Executable not implemented for " + runtime.GOOS)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 333 bytes
    - Viewed (0)
  4. src/runtime/debug/example_monitor_test.go

    		}
    		if err := f.Close(); err != nil {
    			log.Fatal(err)
    		}
    		log.Fatalf("saved crash report at %s", f.Name())
    	}
    
    	// This is the application process.
    	// Fork+exec the same executable in monitor mode.
    	exe, err := os.Executable()
    	if err != nil {
    		log.Fatal(err)
    	}
    	cmd := exec.Command(exe, "-test.run=ExampleSetCrashOutput_monitor")
    	cmd.Env = append(os.Environ(), monitorVar+"=1")
    	cmd.Stderr = os.Stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultGroovyJavaJointCompileSpecFactoryTest.groovy

        def "produces correct spec type" () {
            CompileOptions options = TestUtil.newInstance(CompileOptions.class, TestUtil.objectFactory())
            options.fork = fork
            options.forkOptions.executable = executable ? Jvm.current().javacExecutable.absolutePath : null
            DefaultGroovyJavaJointCompileSpecFactory factory = new DefaultGroovyJavaJointCompileSpecFactory(options, null)
    
            when:
            def spec = factory.create()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/native/cpp_testing.adoc

    All C++ testing revolves around a single task type: link:{groovyDslPath}/org.gradle.nativeplatform.test.tasks.RunTestExecutable.html[RunTestExecutable].
    This runs a single test executable built with any testing framework and asserts the execution was successful using the exit code of the executable.
    The test case results aren’t collected and no reports are generated.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/internal/NativeTestSuites.java

                    testBinary.setToolChain(testedBinary.getToolChain());
                    NativeExecutableFileSpec executable = testBinary.getExecutable();
                    NativeInstallationSpec installation = testBinary.getInstallation();
                    executable.setToolChain(testedBinary.getToolChain());
                    executable.setFile(executableFileFor(testBinary, buildDir));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftApplicationInitIntegrationTest.groovy

            then:
            executed(":app:test")
    
            and:
            executable("${subprojectName()}/build/exe/main/debug/App").exec().out ==  "Hola, Mundo!\n"
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        ExecutableFixture executable(String path) {
            AvailableToolChains.getToolChain(ToolChainRequirement.SWIFTC).executable(targetDir.file(path))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecIntegrationTest.groovy

            """
        }
    
        def "emits deprecation warning if executable specified as relative path"() {
            given:
            def executable = TextUtil.normaliseFileSeparators(Jvm.current().javaExecutable.toString())
    
            buildFile << """
                tasks.withType(JavaExec) {
                    executable = new File(".").getCanonicalFile().toPath().relativize(new File("${executable}").toPath()).toString()
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

            cause.message.contains("The configured executable does not exist")
            cause.message.contains(invalidExecutable.absolutePath)
        }
    
        def "fails if custom executable is a directory"() {
            def testTask = project.tasks.create("test", Test)
            def executableDir = temporaryFolder.createDir("javac")
    
            when:
            testTask.executable = executableDir.absolutePath
            testTask.javaVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
Back to top