Comments (12)
I'm planning to look at some selectivity for test files by having lvtfiles
or similar as a variable. One possible approach to your use case would be to set a Travis-CI variable and pick that up in the build.lua
file, and set lvtfiles
appropriately. Would that work as an interface for you?
from l3build.
I've been pondering this a bit. The problem with choosing ...files
is that for tests there is quite a bit of manipulation based on the different file types (.lvt
, tlg
, .log
as a minimum, plus auxiliary files, plus now some form of PDF-based files). I wonder if instead testnames
would work: the standard setting would then be testnames = {"*"}
, and one could restrict as required (perhaps with also excludetestnames
to allow selective removal).
Thoughts? (@FrankMittelbach, @wspr)
from l3build.
I see that this is closely linked to #49: my feeling is that the two issues can be handled together (if one has a list of test names, one can arrange to exclude names by checking the platform or similar).
from l3build.
from l3build.
@wspr Yes, but if one provides a testnames
variable then you can two multiple configs using one testfiledir
, each selecting only some files. That could mean you have a full
config that runs everything and a travis
config that only runs some tests, for example: you could then arrange that checking on Travis-CI picks the latter, which would then be tests you know don't get messed up by platform-specific stuff.
from l3build.
from l3build.
@u-fischer Does the fix to #49 give you enough flexibility here?
from l3build.
I'm not sure that I understood the syntax. Does it mean that I can add to a config file
excludetests= {....}
If yes, what is the allowed content of the variable? Some pattern that is matched against the file name? If yes then I think this would be quite fine.
from l3build.
@u-fischer Something like
if os.type == "unix" then
excludetests = {"name-1", "name-???" } -- globs
end
from l3build.
Sounds good. Are there restrictions to the glob-syntax? E.g. would *bbb*
work, and file[0-9]*
work?
from l3build.
Currently the glob support is 'Windows-like', but the original version of code I've used to convert globs-to-patterns does support ranges too. So I can happily extend the glob support. If you'd rather the names use Lua patterns, I can probably sort that, though it will be a bit more effort.
from l3build.
I'm assuming we are OK here now ...
from l3build.
Related Issues (20)
- Could `l3build check` only test if the compilation is successful HOT 11
- Copyright: update manually or automatically by `update_tag()`? HOT 2
- Recent change seems to have rendered documented way to call `biber` not working HOT 16
- l3build fails for unknown reasons HOT 3
- How to copy `docfiles` with directory structure respected? HOT 1
- Non-zero exit code caused by lots of `\showbox`
- Updating `man l3build` HOT 7
- Output on failure does not help HOT 1
- Check with `stdengine` only HOT 2
- Sync up documented log normalization rules HOT 3
- Output normalization hook HOT 1
- global typesetopts is ignored HOT 3
- About runcmd, 2 feature requests, one comment and one issue HOT 14
- Version of Lua module is not normalized HOT 10
- man HOT 19
- inconsistency in require HOT 4
- name or file in documentation of tex()? HOT 1
- Clean target creates build directory HOT 26
- customize targets and options
- l3build check reports misleading if no tests defined HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from l3build.