[Tests] Use a range-based for loop

to fix tests on Arch. Otherwise, an issue in the iterator raises:
unknown location(0): fatal error: in "StatsTests/contact_phase": signal: SIGSEGV, si_code: 128 (memory access violation at address: 0x00000000)
10 jobs for master in 2 minutes and 13 seconds (queued for 5 seconds)
latest
Status Name Job ID Coverage
  Test
failed doc-coverage #131028

00:01:53

failed format #131029
allowed to fail

00:00:42

failed robotpkg-multicontact-api-18.04 #131020
allowed to fail

00:01:11

failed robotpkg-multicontact-api-20.04 #131021

00:01:39

failed robotpkg-multicontact-api-buster #131022
allowed to fail

00:01:58

failed robotpkg-multicontact-api-ferrum #131023
allowed to fail

00:02:11

failed robotpkg-py-multicontact-api-18.04 #131024
allowed to fail

00:01:54

failed robotpkg-py-multicontact-api-20.04 #131025

00:00:46

failed robotpkg-py-multicontact-api-buster #131026

00:01:12

failed robotpkg-py-multicontact-api-ferrum #131027
allowed to fail

00:00:24

 
Name Stage Failure
failed
robotpkg-multicontact-api-ferrum Test
For details or bug reports, check the complete log file in:
/root/robotpkg/wip/multicontact-api/work/configure.log

make: *** [do-configure-cmake] Error 1
/root/robotpkg/mk/configure/cmake-configure.mk:100: recipe for target 'do-configure-cmake' failed
make: *** [install] Error 2
/root/robotpkg/mk/internal/trusted.mk:36: recipe for target 'install' failed
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
robotpkg-multicontact-api-buster Test
| 
|

For details or bug reports, check the complete log file in:
/root/robotpkg/wip/multicontact-api/work/configure.log
make: *** [/root/robotpkg/mk/configure/cmake-configure.mk:100: do-configure-cmake] Error 1
make: *** [/root/robotpkg/mk/internal/trusted.mk:36: install] Error 2
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
robotpkg-py-multicontact-api-18.04 Test
/root/robotpkg/wip/multicontact-api/work/configure.log
make[1]: *** [do-configure-cmake] Error 1
/root/robotpkg/mk/configure/cmake-configure.mk:100: recipe for target 'do-configure-cmake' failed
/root/robotpkg/mk/depends/depends.mk:70: recipe for target 'do-depends' failed
make: *** [do-depends] Error 1
/root/robotpkg/mk/internal/trusted.mk:36: recipe for target 'install' failed
make: *** [install] Error 2
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
doc-coverage Test
make: *** [/root/robotpkg/mk/internal/trusted.mk:36: install] Error 2
Running after_script
Running after script...
$ cd /root/robotpkg/wip/py-multicontact-api
$ build=$(make show-var VARNAME=CONFIGURE_DIRS); cd $(make show-var VARNAME=WRKSRC); cd $build
$ make doc
make: *** No rule to make target 'doc'. Stop.
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
robotpkg-multicontact-api-20.04 Test
| See also "/root/robotpkg/wip/multicontact-api/work/multicontact-api-2.1.0/CMakeFiles/CMakeOutput.log".
For details or bug reports, check the complete log file in:
/root/robotpkg/wip/multicontact-api/work/configure.log
make: *** [/root/robotpkg/mk/configure/cmake-configure.mk:100: do-configure-cmake] Error 1
make: *** [/root/robotpkg/mk/internal/trusted.mk:36: install] Error 2


Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
robotpkg-py-multicontact-api-buster Test
| -- Configuring incomplete, errors occurred!
| See also "/root/robotpkg/wip/multicontact-api/work/multicontact-api-2.1.0/CMakeFiles/CMakeOutput.log".

For details or bug reports, check the complete log file in:
/root/robotpkg/wip/multicontact-api/work/configure.log
make[1]: *** [/root/robotpkg/mk/configure/cmake-configure.mk:100: do-configure-cmake] Error 1
make: *** [/root/robotpkg/mk/depends/depends.mk:70: do-depends] Error 1
make: *** [/root/robotpkg/mk/internal/trusted.mk:36: install] Error 2
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
robotpkg-multicontact-api-18.04 Test
| See also "/root/robotpkg/wip/multicontact-api/work/multicontact-api-2.1.0/CMakeFiles/CMakeOutput.log".
For details or bug reports, check the complete log file in:
/root/robotpkg/wip/multicontact-api/work/configure.log
make: *** [do-configure-cmake] Error 1

/root/robotpkg/mk/configure/cmake-configure.mk:100: recipe for target 'do-configure-cmake' failed
/root/robotpkg/mk/internal/trusted.mk:36: recipe for target 'install' failed
make: *** [install] Error 2
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
robotpkg-py-multicontact-api-20.04 Test
| 

For details or bug reports, check the complete log file in:
/root/robotpkg/wip/multicontact-api/work/configure.log
make[1]: *** [/root/robotpkg/mk/configure/cmake-configure.mk:100: do-configure-cmake] Error 1
make: *** [/root/robotpkg/mk/depends/depends.mk:70: do-depends] Error 1
make: *** [/root/robotpkg/mk/internal/trusted.mk:36: install] Error 2
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
format Test
./examples/display_gepetto_gui.py:73:3: E114 indentation is not a multiple of 4 (comment)
./examples/display_gepetto_gui.py:74:3: E111 indentation is not a multiple of 4
./examples/display_gepetto_gui.py:75:3: E111 indentation is not a multiple of 4
./examples/display_gepetto_gui.py:76:3: E111 indentation is not a multiple of 4
./examples/display_gepetto_gui.py:77:3: E111 indentation is not a multiple of 4
./examples/display_gepetto_gui.py:78:3: E111 indentation is not a multiple of 4
./examples/display_gepetto_gui.py:87:1: W391 blank line at end of file
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
robotpkg-py-multicontact-api-ferrum Test

/root/robotpkg/mk/configure/cmake-configure.mk:100: recipe for target 'do-configure-cmake' failed
make[1]: *** [do-configure-cmake] Error 1
/root/robotpkg/mk/depends/depends.mk:70: recipe for target 'do-depends' failed
make: *** [do-depends] Error 1
make: *** [install] Error 2
/root/robotpkg/mk/internal/trusted.mk:36: recipe for target 'install' failed
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1