Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,274
    • Issues 4,274
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 412
    • Merge Requests 412
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #16121

Closed
Open
Opened Jan 02, 2019 by Gabor Greif@ggreif💬Developer

testsuite: only_ways(llvm_ways) behaves strangely

It appears that specifying only_ways(llvm_ways) for tests is not sufficient. E.g. when looking for the test T8131 in the llvm-CI-runner's logs, you won't find it. It is written like this:

test('T8131', [cmm_src, only_ways(llvm_ways)], compile_fail, [''])

The only optllvm-way tests are on validate-aarch64-linux-deb9

=====> T5681(optllvm) 2409 of 6747 [0, 83, 8]
cd "llvm/should_compile/T5681.run" &&  "/builds/ghc/ghc/inplace/bin/ghc-stage2" -c T5681.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output  -O -fllvm 
=====> T6158(optllvm) 2410 of 6747 [0, 83, 8]
cd "llvm/should_compile/T6158.run" &&  "/builds/ghc/ghc/inplace/bin/ghc-stage2" -c T6158.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output  -O -fllvm -package vector -package primitive
=====> T7571(optllvm) 2411 of 6747 [0, 83, 8]
cd "llvm/should_compile/T7571.run" &&  "/builds/ghc/ghc/inplace/bin/ghc-stage2" -c T7571.cmm -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output  -O -fllvm  -no-hs-main 
=====> T8131b(optllvm) 2413 of 6747 [0, 83, 8]
cd "llvm/should_compile/T8131b.run" &&  "/builds/ghc/ghc/inplace/bin/ghc-stage2" -c T8131b.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output  -O -fllvm 
=====> T11649(optllvm) 2414 of 6747 [0, 83, 8]

These are triggered by the magic incantation:

def f( name, opts ):
  opts.only_ways = ['optllvm', 'llvm', 'debugllvm']

setTestOpts(f)

validate-x86_64-linux-deb9-llvm won't even test those...

Trac metadata
Trac field Value
Version 8.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#16121