Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 171 for Executable (0.3 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

            "java home"  | 'options.forkOptions.javaHome = file("<path>")' | ''
            "executable" | 'options.forkOptions.executable = "<path>"'     | OperatingSystem.current().getExecutableName('/bin/javac')
        }
    
        @Issue("https://github.com/gradle/gradle/issues/21367")
        def "emits toolchain usages for test that configures executable path"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. src/debug/buildinfo/buildinfo.go

    type BuildInfo = debug.BuildInfo
    
    // errUnrecognizedFormat is returned when a given executable file doesn't
    // appear to be in a known format, or it breaks the rules of that format,
    // or when there are I/O errors reading the file.
    var errUnrecognizedFormat = errors.New("unrecognized file format")
    
    // errNotGoExe is returned when a given executable file is valid but does
    // not contain Go build information.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

            debugX86Binary.compilationDetails.compileTask.path == ":compileDebugX86Cpp"
            debugX86Binary.compilationDetails.compileTask.name == "compileDebugX86Cpp"
            debugX86Binary.linkageDetails.outputLocation == toolchain.executable(file("build/exe/main/debug/x86/app")).file
            debugX86Binary.linkageDetails.additionalArgs.empty
            debugX86Binary.linkageDetails.linkTask.path == ":linkDebugX86"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPlugin.java

    import java.util.stream.Stream;
    
    import static org.gradle.language.nativeplatform.internal.Dimensions.tryToBuildOnHost;
    
    /**
     * A plugin that sets up the infrastructure for testing C++ binaries using a simple test executable.
     *
     * Gradle will create a {@link RunTestExecutable} task that relies on the exit code of the binary.
     *
     * @since 4.4
     */
    public abstract class CppUnitTestPlugin implements Plugin<Project> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/CommandLineJavaCompilerForExecutableIntegrationTest.groovy

        @Override
        String compilerConfiguration() {
            """
                compileJava.options.with {
                    fork = true
                    forkOptions.executable = "${TextUtil.normaliseFileSeparators(Jvm.current().getExecutable("javac").absolutePath)}"
                }
            """
        }
    
        @Override
        String logStatement() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/ExecutionStateChangeDetector.java

    @ServiceScope(Scope.Global.class)
    public interface ExecutionStateChangeDetector {
        int MAX_OUT_OF_DATE_MESSAGES = 3;
    
        ExecutionStateChanges detectChanges(
            Describable executable,
            PreviousExecutionState lastExecution,
            BeforeExecutionState thisExecution,
            IncrementalInputProperties incrementalInputProperties
        );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

            def jvm = Jvm.current()
    
            then:
            jvm.isIbmJvm()
    
            where:
            vendorProperty << ['java.vendor', 'java.vm.vendor']
        }
    
        def "finds executable for java home supplied"() {
            System.properties['java.vm.vendor'] = 'Sun'
    
            when:
            def home = tmpDir.createDir("home")
            home.create {
                jre {
                    bin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/syscall/exec_linux_test.go

    		} else if err != nil {
    			fmt.Fprintf(os.Stderr, "unshare: mount %s: %v\n", dir, err)
    			os.Exit(2)
    		}
    		os.Exit(0)
    	}
    
    	testenv.MustHaveExec(t)
    	exe, err := os.Executable()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	d := t.TempDir()
    	t.Cleanup(func() {
    		// If the subprocess fails to unshare the parent directory, force-unmount it
    		// so that the test can clean it up.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/start.go

    	// Fork+exec the telemetry child.
    	exe, err := os.Executable()
    	if err != nil {
    		// There was an error getting os.Executable. It's possible
    		// for this to happen on AIX if os.Args[0] is not an absolute
    		// path and we can't find os.Args[0] in PATH.
    		log.Printf("failed to start telemetry sidecar: os.Executable: %v", err)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/macho_combine_dwarf.go

    		return err
    	}
    	return binary.Write(r.f, r.order, data)
    }
    
    // machoCombineDwarf merges dwarf info generated by dsymutil into a macho executable.
    //
    // With internal linking, DWARF is embedded into the executable, this lets us do the
    // same for external linking.
    // exef is the file of the executable with no DWARF. It must have enough room in the macho
    // header to add the DWARF sections. (Use ld's -headerpad option)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top