Error in running test: "error: no executbles supplied"

amit mehta gmate.amit at gmail.com
Sun May 11 22:26:30 UTC 2014


The error was coming from rtems-tools/tester/rt/test.py
<snip>
executables = find_executables(opts.params(), exe_filter)
        if len(executables) == 0:
            raise error.general('no executbles supplied')
<snip>

where "exe_filter" by default is set to '*.exe', so it's not necessary
to provide any executables on the command line. However the problem,
was that after issuing ./configure from the "sis" directory as:
./rtems-test --log=log_sis_run --rtems-bsp=sis-run --rtems-tools=$HOME/
development/rtems/4.11 --enable-tests --enable-rtemsbsp=sis

I didn't issued 'make', and hence the target executables did not get compiled.
after issuing 'make' the tests proceeds :)

bash-4.1$ ./rtems-test --log=log_sis_run --rtems-bsp=sis-run
--rtems-tools=$HOME/development/rtems/4.11
$HOME/development/rtems/kernel/sis
RTEMS Testing - Tester, v0.2.0
[  1/494] p:0   f:0   t:0   i:0   | sparc/sis: fsbdpart01.exe
[  2/494] p:1   f:0   t:0   i:0   | sparc/sis: fsdosfsformat01.exe
[  3/494] p:2   f:0   t:0   i:0   | sparc/sis: fsdosfsname01.exe

Not sure, but maybe this information should also be put in the
"rtems-tester.txt"
file.

Thanks,
Kumar


On Sun, May 11, 2014 at 3:51 PM, Joel Sherrill
<Joel.Sherrill at oarcorp.com> wrote:
> Do a -? Or --help to make sure but I think you have to provide a list of
> executables on the command line.
>
> On May 11, 2014 3:10 PM, Kumar Amit Mehta <gmate.amit at gmail.com> wrote:
> Hi,
>
> I'm trying to run the rtems testcases for the first time and facing some
> issues with the setup (most probably). Invoking 'rtems-test' gives me
> the error; "error: no executbles supplied". I wonder, what is it that
> I've missed. Please see the directory structure, toolset etc information
> below for more information.
>
> bash-4.1$ ./rtems-test --log=log_sis_run --rtems-bsp=sis-run
> --rtems-tools=$HOME/development/rtems/4.11
> $HOME/development/rtems/kernel/sis
> RTEMS Testing - Tester, v0.2.0
> error: no executbles supplied  <---- :(
>
> bash-4.1$ ./rtems-test --list-bsps
> RTEMS Testing - Tester, v0.2.0
>  BSP List:
>   beagleboardxm
>   mcf5235
>   psim-run
>   psim
>   realview_pbx_a9_qemu
>   sis-run
>   sis
>   xilinx_zynq_a9_qemu
>   xilinx_zynq_a9_qemu_smp
>   xilinx_zynq_zc706
>
> bash-4.1$ echo $PATH
> /home/rtems/development/rtems/4.11/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/rtems/bin
>
> bash-4.1$ ls -l $HOME/development/rtems/4.11
> total 24
> drwxr-xr-x.  2 rtems rtems 4096 May 10 12:44 bin
> drwxr-xr-x.  3 rtems rtems 4096 May 10 12:44 include
> drwxr-xr-x.  4 rtems rtems 4096 May 10 12:44 lib
> drwxr-xr-x.  3 rtems rtems 4096 May 10 12:39 libexec
> drwxr-xr-x. 14 rtems rtems 4096 May 10 12:44 share
> drwxr-xr-x.  5 rtems rtems 4096 May 10 12:40 sparc-rtems4.11
>
> bash-4.1$ ls -l $HOME/development/rtems/kernel/sis
> total 84
> -rw-rw-r--. 1 rtems rtems  8388 May 11 14:35 config.log
> -rwxrwxr-x. 1 rtems rtems 26783 May 11 14:35 config.status
> -rw-rw-r--. 1 rtems rtems 31986 May 11 14:35 Makefile
> drwxrwxr-x. 3 rtems rtems  4096 May 11 14:35 sparc-rtems4.11
> drwxrwxr-x. 3 rtems rtems  4096 May 11 14:35 testsuites
> drwxrwxr-x. 4 rtems rtems  4096 May 11 14:35 tools
>
> bash-4.1$ which sparc-rtems4.11-gcc
> /home/rtems/development/rtems/4.11/bin/sparc-rtems4.11-gcc
>
> The SPARC tool chain was created by doing the following:
> 1: Create a directory for tools(necessary tools for cross compilation
> etc.)
> bash-4.1$ mkdir -p development/rtems/src
>
> 2: Clone the rtems source builder using git
> bash-4.1$ git clone git://git.rtems.org/rtems-source-builder.git
> bash-4.1$ cd /home/rtems/development/rtems/
> src/rtems-source-builder
>
> 3: Build the tools
> bash-4.1$ cd rtems
> bash-4.1$ ../source-builder/sb-set-builder --log=l-sparc.txt
> --prefix=/home/rtems/development/rtems/4.11 4.11/rtems-sparc
> RTEMS Source Builder - Set Builder, v0.2.0
> Build Set: 4.11/rtems-sparc
>
> 4: Export the path
> bash-4.1$ export PATH=$HOME/development/rtems/4.11/bin/:$PATH
>
> I'm following the instructions mentioned in the
> rtems-tools/doc/rtems-tester.txt[1].
>
> [1] git://git.rtems.org/rtems-tools.git

The error is coming from here:
<snip>

         if len(executables) == 0:
             raise error.general('no executbles supplied')



More information about the users mailing list