Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,327 for EXISTS (0.1 sec)

  1. src/cmd/go/testdata/script/install_cleans_build.txt

    cd mycmd
    go build
    exists mycmd$GOEXE
    go install
    ! exists mycmd$GOEXE
    
    # 'go install mycmd' does not clean up, even in the mycmd directory
    go build
    exists mycmd$GOEXE
    go install mycmd
    exists mycmd$GOEXE
    
    # 'go install mycmd' should not clean up in an unrelated current directory either
    cd ..
    cp mycmd/mycmd$GOEXE mycmd$GOEXE
    go install mycmd
    exists mycmd$GOEXE
    
    -- mycmd/main.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 21:00:48 UTC 2019
    - 507 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_tidy_diff.txt

    # Missing go.mod and go.sum should fail and not display diff.
    ! exists go.mod
    ! exists go.sum
    ! go mod tidy -diff
    ! exists go.mod
    ! exists go.sum
    ! stdout 'diff current/go.mod tidy/go.mod'
    ! stdout 'diff current/go.sum tidy/go.sum'
    stderr 'go.mod file not found'
    
    # Missing go.mod and existing go.sum should fail and not display diff.
    cp go.sum.orig go.sum
    ! exists go.mod
    exists go.sum
    ! go mod tidy -diff
    ! exists go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopySpecIntegrationSpec.groovy

                }
            """.stripIndent()
    
            when:
            succeeds 'copy'
    
            then:
            file('dest/one/ignore/matchedbad.file').exists()
            file('dest/two/ignore/matchedbad.file').exists()
            !file('dest/one/matchedone.a').exists()
        }
    
        def "can use filesNotMatching with List"() {
            given:
            buildScript """
                task (copy, type: Copy) {
                    from 'src'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:45:30 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cgo_path.txt

    [!GOOS:windows] env PATH=.:$PATH
    [!GOOS:windows] chmod 0755 p/gcc p/clang
    [!GOOS:windows] exists -exec p/gcc p/clang
    [GOOS:windows] exists -exec p/gcc.bat p/clang.bat
    ! exists p/bug.txt
    ! go build -x
    stderr '^cgo: C compiler "(clang|gcc)" not found: exec: "(clang|gcc)": cannot run executable found relative to current directory'
    ! exists p/bug.txt
    
    -- go.mod --
    module m
    
    -- m.go --
    package m
    
    import _ "m/p"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:09:07 UTC 2023
    - 952 bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/JavaModuleCompileIntegrationTest.groovy

            when:
            succeeds ':compileJava'
    
            then:
            javaClassFile('module-info.class').exists()
            javaClassFile('consumer/MainModule.class').exists()
            file('auto-module/build/classes/java/main/auto/AutoClass.class').exists()
    
            when:
            consumingModuleClass('auto.AutoClass', 'moda.ModaClass')
            fails ':compileJava'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. platforms/software/signing/src/test/groovy/org/gradle/plugins/signing/SignOperationSpec.groovy

            def operation = signing.sign(input1Artifact)
            
            then:
            output1.exists()
            output1 == operation.singleSignature.file
        }
        
        def "sign multiple files with defaults"() {
            when:
            def operation = signing.sign(input1, input2)
            
            then:
            output1.exists() && output2.exists()
            [input1, input2] == operation.filesToSign.files.toList()[0..1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_build_versioned.txt

    env GO111MODULE=on
    [short] skip
    
    go get rsc.io/fortune/v2
    
    # The default executable name shouldn't be v2$GOEXE
    go build rsc.io/fortune/v2
    ! exists v2$GOEXE
    exists fortune$GOEXE
    
    # The default test binary name shouldn't be v2.test$GOEXE
    go test -c rsc.io/fortune/v2
    ! exists v2.test$GOEXE
    exists fortune.test$GOEXE
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 343 bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/AbstractMultipleLocalJavaModulesCompileIntegrationTest.groovy

            consumingModuleClass('producer.ProducerClass')
    
            when:
            succeeds ':compileJava'
    
            then:
            javaClassFile('module-info.class').exists()
            javaClassFile('consumer/MainModule.class').exists()
        }
    
        def "compiles a non-module using the classpath"() {
            given:
            producingModuleInfo()
            producingModuleClass()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_gomodcache.txt

    stdout $WORK[/\\]modcache
    go get rsc.io/quote@v1.0.0
    exists $WORK/modcache/cache/download/rsc.io/quote/@v/v1.0.0.info
    grep '{"Version":"v1.0.0","Time":"2018-02-14T00:45:20Z"}' $WORK/modcache/cache/download/rsc.io/quote/@v/v1.0.0.info
    
    # Ensure GOMODCACHE doesn't affect location of sumdb, but $GOMODCACHE/cache/download/sumdb is still written
    exists $GOPATH/pkg/sumdb
    ! exists $WORK/modcache/sumdb
    exists $WORK/modcache/cache/download/sumdb
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_compile_multi_pkg.txt

    # run on Unix platforms.
    
    go test -c -o $WORK/some/nonexisting/directory/ ./pkg/...
    exists -exec $WORK/some/nonexisting/directory/pkg1.test$GOEXE
    exists -exec $WORK/some/nonexisting/directory/pkg2.test$GOEXE
    
    go test -c ./pkg/...
    exists -exec pkg1.test$GOEXE
    exists -exec pkg2.test$GOEXE
    
    ! go test -c -o $WORK/bin/test/bin.test.exe ./pkg/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:09:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top