Skip to content

Commit f8a1043

Browse files
committed
setup.py: check that executables were built
1 parent cc54c42 commit f8a1043

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ def build_libraries(self, libraries):
3333
build(build_info['sources'], output, cc, build_static, include_dirs, library_dirs)
3434

3535
# copy to source dir as well for easier testing
36-
for f in list(output_dir.glob('rnx2crx*')) + list(output_dir.glob('crx2rnx*')):
36+
executables = list(output_dir.glob('rnx2crx*')) + list(output_dir.glob('crx2rnx*'))
37+
assert len(executables) == 2
38+
for f in executables:
3739
shutil.copy(f, 'hatanaka/bin/')
3840

3941

0 commit comments

Comments
 (0)