Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Q qemu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TheBigBang
  • qemu
  • Repository
Switch branch/tag
  • qemu
  • Makefile
Find file BlameHistoryPermalink
  • Daniel P. Berrange's avatar
    build: disarm the TCG unit test trap · 7c3d1917
    Daniel P. Berrange authored Nov 21, 2017
    
    
    Developers sometimes mistakenly run 'make test' instead of 'make check'.
    'make test' triggers the ancient, unmaintained tcg unit tests in
    tests/tcg/Makefile which have long since ceased compiling.
    
    Even if someone fixes the TCG tests, it makes little sense to put
    them in a 'make test' target, rather they should be 'make check-tcg',
    possibly wired up as a dependency of 'make check'.
    
    In the meantime, this patch disarms the 'make test' trap by simply
    deleting it so users get an immediate error. This should be enough
    for them to remember to type 'make check' instead (or 'make help'
    to learn). It also deletes 'make speed' which is another route
    into the tcg tests.
    
    Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
    Reviewed-by: default avatarKashyap Chamarthy <kchamart@redhat.com>
    Reviewed-by: default avatarDaniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
    Message-id: 20171121142538.22072-1-berrange@redhat.com
    Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    7c3d1917