Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,206 for execIO (0.16 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy

        def "providers.exec can be used during configuration time"() {
            given:
            def testScript = ShellScript.builder()
                .printArguments()
                .printEnvironmentVariable("TEST_FOO")
                .writeTo(testDirectory, "script")
    
            buildFile """
                def execProvider = providers.exec {
                    ${cmdToExecConfig(*testScript.commandLine, "--some-arg")}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInStaticGroovyIntegrationTest.groovy

                def e = new RuntimeExec()
                e.exec("some string")
                e.exec("some string", ["array"] as String[])
                e.exec("some string", ["array"] as String[], file("test"))
                e.exec(["some", "string"] as String[])
                e.exec(["some", "string"] as String[], ["array"] as String[])
                e.exec(["some", "string"] as String[], ["array"] as String[], file("test"))
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy

            }
    
            where:
            snippetsFactory                      | location
            exec("getProject()").java            | "Unknown location" // TODO(mlopatkin): Fix location there
            javaexec("getProject()").java        | "Unknown location"
            exec("getExecOperations()").java     | "Unknown location"
            javaexec("getExecOperations()").java | "Unknown location"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_git_missing_tree.txt

    env GIT_AUTHOR_DATE=2024-01-30T10:52:00+08:00
    
    cd $WORK/repo
    exec git init
    exec git add go.mod main.go
    exec git commit -m 'initial commit'
    
    env GIT_COMMITTER_DATE=2024-01-30T10:53:00+08:00
    env GIT_AUTHOR_DATE=2024-01-30T10:53:00+08:00
    exec git add extra.go
    exec git commit -m 'add extra.go'
    
    # Assume the tree object from initial commit is not available (e.g. partial clone)
    exec git log --pretty=%T
    cmp stdout $WORK/.git-trees
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

            then:
            file("transitive/build/jacoco/test.exec").assertExists()
            file("transitive/build/jacoco/integTest.exec").assertExists()
            file("direct/build/jacoco/test.exec").assertExists()
            file("direct/build/jacoco/integTest.exec").assertDoesNotExist()
            file("application/build/jacoco/test.exec").assertExists()
            file("application/build/jacoco/integTest.exec").assertExists()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/clean_binary.txt

    env GO111MODULE=on
    
    ! exists main$GOEXE
    go build main.go
    exists -exec main$GOEXE
    go clean
    ! exists main$GOEXE
    
    # case2: test module-named executable 'a.b.c'
    ! exists a.b.c$GOEXE
    go build
    exists -exec a.b.c$GOEXE
    go clean
    ! exists a.b.c$GOEXE
    
    # case3: directory-named executable 'src'
    env GO111MODULE=off
    
    ! exists src$GOEXE
    go build
    exists -exec src$GOEXE
    go clean
    ! exists src$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 13:36:17 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue18146.go

    		}
    	}
    
    	if os.Getenv("test18146") == "exec" {
    		runtime.GOMAXPROCS(1)
    		for n := threads; n > 0; n-- {
    			go func() {
    				for {
    					_ = md5.Sum([]byte("Hello, !"))
    				}
    			}()
    		}
    		runtime.GOMAXPROCS(threads)
    		argv := append(os.Args, "-test.run=^$")
    		if err := syscall.Exec(os.Args[0], argv, os.Environ()); err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	var cmds []*exec.Cmd
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

        private int daemonLogCheckpoint
    
        @UnsupportedWithConfigurationCache(iterationMatchers = ".* project.exec")
        def "can cancel #scenario"() {
            given:
            blockCode()
            buildFile << """
                import java.util.concurrent.CountDownLatch
                apply plugin: 'java'
                task execTask(type: Exec) {
                    dependsOn 'compileJava'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/debug/macho/testdata/gcc-amd64-darwin-exec-with-bad-dysym.base64

    Roland Shoemaker <******@****.***> 1634241721 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:55:26 UTC 2021
    - 11.1K bytes
    - Viewed (0)
  10. src/net/interface_bsd_test.go

    package net
    
    import (
    	"errors"
    	"fmt"
    	"os/exec"
    	"runtime"
    )
    
    func (ti *testInterface) setBroadcast(vid int) error {
    	if runtime.GOOS == "openbsd" {
    		ti.name = fmt.Sprintf("vether%d", vid)
    	} else {
    		ti.name = fmt.Sprintf("vlan%d", vid)
    	}
    	xname, err := exec.LookPath("ifconfig")
    	if err != nil {
    		return err
    	}
    	ti.setupCmds = append(ti.setupCmds, &exec.Cmd{
    		Path: xname,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top