RFC - Move all Native Tools from rtems to rtems-tools

2017-02-04 Thread Joel Sherrill
Hi While setting up the Coverity build, I noticed that we have very few native tools in the rtems source tree. There are only these directories: ./c/src/lib/libbsp/i386/pc386/tools ./c/src/lib/libbsp/m68k/mcf5206elite/tools ./testsuites/tools ./tools pc386 has 1 C file. mcf5206elite has 1 shell

Re: Regarding running one test

2017-02-04 Thread Gedare Bloom
After you do a git-pull you should usually re-run bootstrap, delete your build, and re-run configure and make. This is especially true if you re-build a toolchain, at least to get started. On Sat, Feb 4, 2017 at 10:26 AM, Tanu Hari Dixit wrote: > Hi Kevin, Kuan-Hsun, > > Thank you for the answer.

Re: Regarding running one test

2017-02-04 Thread Joel Sherrill
On Feb 4, 2017 12:25 PM, "Tanu Hari Dixit" wrote: Hello Joel, Thanks for the answer. I want to compile and build the exe file for just one test. When I use the option --enable-tests with configure, does it assume to build for all tests in the testsuites? I want to build for a single test only. I

Re: Regarding running one test

2017-02-04 Thread Tanu Hari Dixit
Hello Joel, Thanks for the answer. I want to compile and build the exe file for just one test. When I use the option --enable-tests with configure, does it assume to build for all tests in the testsuites? I want to build for a single test only. I haven't tried rtems-tester as of now because I upda

Re: Regarding running one test

2017-02-04 Thread Joel Sherrill
If you are building the erc32 BSP, there are a handful of options. It is probably the easiest BSP to run tests on a simulator. sparc-rtems4.12-run xxx.exe sparc-rtems4.12-gdb xxx.exe ... target sim ... load ... run The rtems-tester supports this BSP to ease running tests for this BSP. Also the

Re: Regarding running one test

2017-02-04 Thread Tanu Hari Dixit
The following is the output of the configure statement (I ran configure again because I did not save the output of the previous one) thd@thd-Inspiron-5537:~/development/rtems/src/builds/erc32_test1$ ../../rtems/configure --target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-tests --prefix=${HO

Re: Regarding running one test

2017-02-04 Thread Tanu Hari Dixit
Hi Kevin, Kuan-Hsun, Thank you for the answer. I have run into a problem before trying the above solutions for myself, while updating my local copy of the rtems repository with upstream with "git pull". After I updated the local copy, I built the sparc toolset with ../source-builder/sb-set-builder

Re: Regarding running one test

2017-02-04 Thread Kuan Hsun Chen
Or alternatively you can prepare simulator like qemu to executed each of it after compiling the source tree. Like this in testsuites/hello/: 1. qemu-system-arm -no-reboot -nographic -M realview-pbx-a9 -m 256M -kernel \ 2. hello.exe -smp 4 Best, Kuan-Hsun 2017-02-04 14:12 GMT+01:00 Kirs

RE: Regarding running one test

2017-02-04 Thread Kirspel, Kevin
I use the rtems tester. ftp://ftp.rtems.org/pub/rtems/people/chrisj/rtems-tester/rtems-tester.html Kevin Kirspel Electrical Engineer - Sr. Staff Idexx Roswell 235 Hembree Park Drive Roswell GA 30076 Tel: (770)-510- ext. 81642 Direct: (770)-688-1642 Fax: (770)-510-4445 -Original Message-