xlnt/test

12 lines
298 B
Python
Executable File

#!/usr/bin/env python3
import os
import subprocess
os.chdir(os.path.dirname(os.path.abspath(__file__)))
if not os.path.isfile('bin/xlnt.test'):
subprocess.call('./build')
if os.path.isdir('./bin') and os.path.isfile('./bin/xlnt.test'):
os.chdir('./bin')
subprocess.call(['./xlnt.test'])