You are here

Error in units test

2 posts / 0 new
Last post
Error in units test

I have recently installed Rosetta by compiling from source code. After that, I moved to testing as described here.

$ cd Rosetta/main/source
$ ./ -j4 mode=debug && ./ -j4 mode=debug cat=test
scons: done building targets.

The commands above seem fine, but when I tried to run unit tests, I got the following error.

$ python test/ --mode=debug -j4
Identifying platform...

Traceback (most recent call last):
  File "test/", line 667, in <module>
    if __name__ == "__main__": main(sys.argv)
  File "test/", line 661, in main
  File "test/", line 267, in runUnitTests
  File "test/", line 89, in getPlatformID
    pl = subprocess.check_output(cmd_str, shell=True).decode('utf-8', errors="replace")
AttributeError: 'module' object has no attribute 'check_output'

Any idea to solve this?

The version of python used is 2.6.9.

Thanks in advance.

Post Situation: 
Wed, 2017-11-08 19:15

Your Python version is too old to run the unit tests. You need Python 2.7 (or later).

Fri, 2017-12-01 11:44