Mbed forum

Build yields generate_test_code.py invalid syntax


(Ken Goldman) #1

I tried a simple unzip and make. It yields this. Questions:

1 - My guess is that the code has a dependency on a specific python version. What is it? I’m at 2.6.6.

2 - Is there a work around to just build the library and not the test code?


  Gen   test_suite_aes.cbc.c
  File "scripts/generate_test_code.py", line 966
    with open(helpers_file, 'r') as help_f, open(platform_file, 'r') as \
                                          ^
SyntaxError: invalid syntax
make[1]: *** [test_suite_aes.cbc.c] Error 1
make: *** [tests] Error 2