view tests/test-filecache.py.out @ 16842:a3ea092203a5

tests: introduce c-style conditional sections in .t tests This makes it possible to have conditional sections like: #if windows $ echo foo foo #else $ echo bar bar #endif The directives and skipped sections are treated like comments, so don't interleave them with commands and their output. The parameters to #if are evaluated while preparing the test by passing them over to hghave. Requirements can thus be negated with 'no-' prefix, and multiple requirements must all be true to return true.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 01 Jun 2012 02:25:12 +0200
parents dca59d5be12d
children 3e4a944c0d04
line wrap: on
line source

basic:

creating
creating
creating
creating

fakeuncacheable:

creating
creating
creating
creating
creating
creating