pravins / lohit

Lohit fonts family project to supporting Indian scripts.
Other
39 stars 11 forks source link

Tests fail: 'module' object has no attribute 'getstatusoutput' #83

Open jbicha opened 7 years ago

jbicha commented 7 years ago

I tried running the tests as I built lohit-assamese 2.91.5 on Ubuntu 17.10 Alpha.

    make -j1 test
make[2]: Entering directory '/<<PKGBUILDDIR>>'
----------Testing actual-output with expected-output----------
fontforge -lang=py -script auto_test.py std-test-out.txt Lohit-Assamese.ttf
Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Based on sources from 20170106-ML-D.
 Based on source from git with hash: 
Cannot find your hotkey definition file!
Traceback (most recent call last):
  File "auto_test.py", line 52, in <module>
    auto_test(txt_file,font_file)
  File "auto_test.py", line 32, in auto_test
    status, output = subprocess.getstatusoutput("hb-shape %s %s"%(ttf_file,words[0]))
AttributeError: 'module' object has no attribute 'getstatusoutput'
Makefile:5: recipe for target 'test' failed
make[2]: *** [test] Error 1