Closed whitty closed 11 years ago
Some build tools return error codes that may not represent an error. Use the option @retmap to provide a comma separated list of return-code mappings - integer=>integer.
uv4
# uv4 returns 1 if errors occurred - our library includes
# suck so map 1 to a success
@retmap=1=>0
-j0
-b
project.uvproj
-o log.txt
The following build will execute "uv4 -j0 -b project.uvproj -o log.txt" as above, but return-value of 1 will be mapped to success (0)
Some tools return different codes for "success" and "success with warnings" It would be niec to decide to squash "success with warnings" returns into success (or not) by maping return codes.