We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faa42f6 commit c597e2eCopy full SHA for c597e2e
1 file changed
python/pyluxcoretest/pyluxcoretest.py
@@ -165,8 +165,9 @@ def LuxRaysDeviceTests():
165
deviceList = pyluxcore.GetOpenCLDeviceList()
166
except RuntimeError as err:
167
print(str(err))
168
- return
+ return None
169
print("OpenCL device list: %s\n" % str(deviceList), flush=True)
170
+ return deviceList
171
172
173
################################################################################
@@ -870,7 +871,9 @@ def main():
870
871
# os.chdir(os.path.dirname(__file__))
872
873
PropertiesTests()
- LuxRaysDeviceTests()
874
+ devices = LuxRaysDeviceTests()
875
+ if devices is None:
876
+ return
877
SimpleRender()
878
GetOutputTest()
879
ExtractConfiguration()
0 commit comments