Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for XTestEmbedFiles (0.3 sec)

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

    # Test -json=<field> with *EmbedFiles fails due to broken file reference.
    ! go list -json=EmbedFiles
    stderr 'no matching files found'
    ! go list -json=TestEmbedFiles
    stderr 'no matching files found'
    ! go list -json=XTestEmbedFiles
    stderr 'no matching files found'
    cd ..
    
    [!git] skip
    
    # Test -json=<field> without Stale skips computing buildinfo
    cd repo
    exec git init
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 15:24:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/embed.txt

    go list -test -f '{{.TestEmbedPatterns}}'
    stdout '\[y\*t\*t\]'
    go list -test -f '{{.TestEmbedFiles}}'
    stdout '\[y.txt\]'
    go list -test -f '{{.XTestEmbedPatterns}}'
    stdout '\[z\*t\*t\]'
    go list -test -f '{{.XTestEmbedFiles}}'
    stdout '\[z.txt\]'
    
    # build embeds x.txt
    go build -x
    stderr 'x.txt'
    
    # build uses cache correctly
    go build -x
    ! stderr 'x.txt'
    cp x.txt2 x.txt
    go build -x
    stderr 'x.txt'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top