Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 370 for sysdir (0.15 sec)

  1. src/os/removeall_test.go

    	t.Parallel()
    
    	tempDir := t.TempDir()
    	subdir := filepath.Join(tempDir, "x")
    	if err := Mkdir(subdir, 0); err != nil {
    		t.Fatal(err)
    	}
    
    	// If an error occurs make it more likely that removing the
    	// temporary directory will succeed.
    	defer Chmod(subdir, 0777)
    
    	if err := RemoveAll(subdir); err != nil {
    		t.Fatal(err)
    	}
    
    	if _, err := Stat(subdir); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            main(NativeExecutableSpec) {
                sources {
                    c {
                        source.srcDir "src/test/c"
                        exportedHeaders.srcDir "src/test/headers"
                    }
                    cpp {
                        source.srcDir "src/test/cpp"
                        exportedHeaders.srcDir "src/test/headers"
                    }
                }
            }
        }
    }
    """
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

    sourceSets.each {
        configure(it) {
            resources.srcDir 'src'
            resources.srcDir 'src/resources'
            resources.include "org/gradle/\$name/**"
            java.srcDir 'src'
            java.srcDir 'src/java'
            java.include "org/gradle/\$name/**/*.java"
            groovy.srcDir 'src'
            groovy.srcDir 'src/groovy'
            groovy.include "org/gradle/\$name/**/*.groovy"
            scala.srcDir 'src'
            scala.srcDir 'src/scala'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesFilesMiscIntegrationTest.groovy

            when:
            succeeds('cleanTempFiles')
    
            then:
            def srcDir = dslDir.file('src')
            srcDir.file("notes.txt.tmp").assertDoesNotExist()
            srcDir.file("README.md").isFile()
            srcDir.file("main/webapp/web.xml.tmp").assertDoesNotExist()
            srcDir.file("main/webapp/web.xml").isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/pgo_inl_test.go

    	if err != nil {
    		t.Fatalf("error getting wd: %v", err)
    	}
    	srcDir := filepath.Join(wd, "testdata/pgo/inline")
    
    	// Copy the module to a scratch location so we can add a go.mod.
    	dir := t.TempDir()
    
    	for _, file := range []string{"inline_hot.go", "inline_hot_test.go", profFile} {
    		if err := copyFile(filepath.Join(dir, file), filepath.Join(srcDir, file)); err != nil {
    			t.Fatalf("error copying %s: %v", file, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/NativeComponentReportOutputNormalizerTest.groovy

    Root project
    ------------------------------------------------------------
    
    Native library 'hello'
    ----------------------
    
    Source sets
        C++ source 'hello:cpp'
            srcDir: src/hello/cpp
    
    Binaries
        Shared library 'hello:sharedLibrary'
            build using task: :helloSharedLibrary
            build type: build type 'debug'
            flavor: flavor 'default'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/groovy/environment/JreJavaHomeGroovyIntegrationTest.groovy

        }
    
        private writeJavaTestSource(String srcDir, String clazzName = "JavaClazz") {
            file(srcDir, "org/test/${clazzName}.java") << """
                package org.test;
                public class ${clazzName} {
                    public static void main(String... args){
    
                    }
                }
                """
        }
    
        private writeGroovyTestSource(String srcDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/codehost/git_test.go

    			},
    		},
    
    		{
    			repo:   gitrepo1,
    			rev:    "aaaaaaaaab",
    			subdir: "",
    			err:    "unknown revision",
    		},
    		{
    			repo:   hgrepo1,
    			rev:    "aaaaaaaaab",
    			subdir: "",
    			err:    "unknown revision",
    		},
    
    		{
    			repo:   vgotest1,
    			rev:    "submod/v1.0.4",
    			subdir: "submod",
    			files: map[string]uint64{
    				"prefix/":                0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_gobuild_import.txt

    	"path/filepath"
    	"strings"
    )
    
    func main() {
    	// build.Import should support relative and absolute source dir paths.
    	path := os.Args[1]
    	srcDir := os.Args[2]
    	p1, err := build.Import(path, srcDir, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    	absSrcDir, err := filepath.Abs(srcDir)
    	if err != nil {
    		log.Fatal(err)
    	}
    	p2, err := build.Import(path, absSrcDir, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. src/go/build/build_test.go

    			t.Logf("%q expands to %q with SRCDIR=%q", test.input, output, expandSrcDirPath)
    		}
    	}
    }
    
    func TestShellSafety(t *testing.T) {
    	tests := []struct {
    		input, srcdir, expected string
    		result                  bool
    	}{
    		{"-I${SRCDIR}/../include", "/projects/src/issue 11868", "-I/projects/src/issue 11868/../include", true},
    		{"-I${SRCDIR}", "~wtf$@%^", "-I~wtf$@%^", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top