Tests: skip OSL render tests in build without OSL
Differential Revision: https://developer.blender.org/D9990
This commit is contained in:

committed by
Brecht Van Lommel

parent
4e90266fd8
commit
74f6b81c12
@@ -98,6 +98,7 @@ def create_argparse():
|
||||
parser.add_argument("-outdir", nargs=1)
|
||||
parser.add_argument("-idiff", nargs=1)
|
||||
parser.add_argument("-device", nargs=1)
|
||||
parser.add_argument("-blacklist", nargs="*")
|
||||
return parser
|
||||
|
||||
|
||||
@@ -114,6 +115,7 @@ def main():
|
||||
blacklist = []
|
||||
if device != 'CPU':
|
||||
blacklist += BLACKLIST_GPU
|
||||
if device != 'CPU' or 'OSL' in args.blacklist:
|
||||
blacklist += BLACKLIST_OSL
|
||||
if device == 'OPTIX':
|
||||
blacklist += BLACKLIST_OPTIX
|
||||
|
Reference in New Issue
Block a user