Konrad Schwarz
04d6aa3ada
Python 3.8 warning about "is" vs "==" in comparisons of literals
...
Signed-off-by: Konrad Schwarz <konrad.schwarz@siemens.com>
Closes #4692
5.2
5.3
2022-08-12 09:27:28 -05:00
Joel Sherrill
e6a4bc5595
misc/wscript trace/wscript: Add -std=c99 to CFLAGS
...
CentOS 7 has gcc 4.8.5 which defaults to C90.
2021-12-16 15:32:10 -06:00
Joel Sherrill
161ccd0177
rtems-bin2c.c: Add _GNU_SOURCE to see strnlen() and strdup()
...
Addresses warnings.
2021-12-16 15:26:39 -06:00
Alex White
bdd785a397
rtems-bsp-builder: Fix mail support
...
This fixes a problem with mailer options support that occurred because
check.py uses argparse.ArgumentParser instead of tester.rt.options.
Closes #4553
2021-12-16 15:26:39 -06:00
Alex White
f7f1a3e69d
rtemstoolkit/mailer.py: Add --use-gitconfig option
...
This adds the option to pull mail-related configuration values from the
user's git configuration.
Updates #4553
2021-12-16 15:26:39 -06:00
Alex White
a7efe4a269
rtemstoolkit/mailer.py: Add SMTP login options
...
This adds more options so that the user can authenticate with the SMTP
server.
Updates #4553
2021-12-16 15:26:39 -06:00
Alex White
6759c3ce83
rtemstoolkit: Filter mail options from log output
...
This filters mail-related options out before logging the command line
options. This is needed to prevent leaking potentially sensitive
information via logs and emails.
Updates #4553
2021-12-16 15:26:39 -06:00
Alex White
56779ecee2
rtemstoolkit/mailer.py: Return full smtp-host arg value
...
This fixes mail.smtp_host() so that it returns the full argument value
rather than just the second character.
Updates #4553
2021-12-16 15:26:39 -06:00
Christian Mauderer
0a5d205774
trace: Use c++14 instead of c++11 if possible
...
llvm version 10 uses features from c++14 standard in the headers. With
that, the record/record-main-lttng.cc doesn't build any more. This patch
makes sure that c++14 is used if it is available.
Updates #4495
2021-08-17 11:21:07 +02:00
Andre Nahrwold
e621fd98e7
misc: tools: fix mkimage.py script type processing
...
Closes #4249
2021-02-16 16:22:36 +11:00
Chris Johns
4f5485eb51
rtems-test: target_exe_filter fails when there is no filter
...
Closes #4006
5.1
2020-06-17 08:43:00 +10:00
Chris Johns
6de89d9268
linkers/ld: Output all reloc records to the RAP file
...
Updates #3969
2020-05-05 11:31:04 +10:00
kaidoho
a1a05c7c63
Allow build with i686-w64-mingw32
...
Closes #3630
2020-04-28 11:45:22 +10:00
Hesham Almatary
ea86d967ec
rtems-tester: Add rv64imafdc_medany for QEMU
2020-04-09 12:40:01 +01:00
Cláudio Maia
bba29e3048
bsps: Deletes erc32-run.ini
2020-04-05 21:50:52 -06:00
Jan Sommer
225438c9e3
tester: Add configuration pc-qemu.ini
2020-04-03 09:24:36 -06:00
Chris Johns
ca7b290f94
rtemstoolkit/execute: Handle unicode input on python2
...
- Allow unicode as a type on python2. The unicode type is not
present on python3 so make the support conditional.
- Add some more diag prints to aid debugging.
Closes #3964
2020-03-30 09:55:02 +11:00
Chris Johns
753eb949b3
tester/gdb: Add lock timing and remote fetching registers.
...
- Add timing for the locks to aid performance profiling
- Remove fetching registers as the MI parser is slow on pyton2
Updates #3864
2020-03-30 09:52:57 +11:00
Joel Sherrill
9b9e0dd47f
gdbarmsim: Remove all variants
...
Updates #3911 .
2020-03-20 13:37:26 -05:00
Gedare Bloom
11a481fb94
execute.py: fix long line
2020-03-19 09:33:14 -06:00
Sebastian Huber
16eff9bc02
record: Increase input buffer and alignment
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
390522a4fa
record: Add support for zlib compressed input
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
5fa2c3b3cb
record: Add zlib filter class
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
d96417111a
record: Add support for base64 encoded input
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
5bc9f73a48
record: Add base64 filter class
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
bfc8f2de78
record: Add filter base class
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
b066705a55
record: Add option to print config default values
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
9d16a1789d
record: Add support for user defined event names
2020-03-17 11:36:05 +01:00
Sebastian Huber
b60abbfa83
record: Add INI file parser
...
Import from:
https://github.com/benhoyt/inih
commit 351217124ddb3e3fe2b982248a04c672350bb0af
Author: Stephan Lachnit <stephanlachnit@protonmail.com>
Date: Sun Mar 1 07:31:28 2020 +0100
r48 release (#100 )
* Bump copyright to 2020
* Remove makefile for static library
* meson: version 48
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
8db5ce1e95
record: Format file header
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
4aa0d5f42f
record: Guard config.h include
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
14f0957b00
record: Fix format
...
Update #3904 .
2020-03-17 11:36:05 +01:00
Sebastian Huber
274981f77d
Improve Python 3 compatibility
2020-03-17 11:36:05 +01:00
Amar Takhar
bae873a5f9
Move mkimage.py to install_files so chmod is preserved and installed in bin/
2020-03-07 19:52:20 -05:00
Joel Sherrill
3833c39f6c
psim-device-tree: Rework so devices do not conflict with 256MB RAM
...
closes #3849 .
2020-03-05 21:29:10 -06:00
Sebastian Huber
763f10232f
rtemstoolkit: Detect native SPARCV9 ELF arch
2020-03-05 10:44:45 +01:00
Sebastian Huber
c7315a218a
rtemstoolkit: Use multiprocessing.cpu_count()
...
The previous implementation does not work on some Linux distributions,
e.g. Debian on sparc64. Use a standard function instead.
2020-03-05 10:33:07 +01:00
Sebastian Huber
00b9f1d825
rtemstoolkit: Support more Linux distributions
...
The platform.dist() function is not always available.
2020-03-05 10:26:15 +01:00
Amar Takhar
2444acb0ad
Add print statement similar to the original mkimage.
...
This is limited to Python 2.6+
2020-03-04 18:07:45 -05:00
Amar Takhar
9c7be8bc49
Fix to work under Pyhon 2 and Python 3.
...
Also changed 'python2' to 'python' in the shebang.
2020-03-04 18:07:41 -05:00
Amar Takhar
e29d0a6ac8
Convert optparse to argparse.
...
* Fix exceptions and print exception message.
* Also add myself to copyright.
2020-03-04 18:07:37 -05:00
Amar Takhar
90713f7d36
Remove EOL whitespace.
2020-03-04 18:07:21 -05:00
Amar Takhar
e8c180f1be
Add to wscript and add python2 shebang.
...
This script does work but needs some user friendliness added which is
acknowledged by the author as it was meant as a quick replacement.
2020-03-03 20:08:10 -05:00
Amar Takhar
fc078dbdef
Add a pure Python clone of mkimage written by Craig Barker.
...
I emailed Craig Barker to ask if he would release his mkimage Python rewrite
as 2BSD. He graciously accepted and you can see his work here:
https://github.com/cmbarker83/pythonmkimage
This is a verbatim commit of 35d6d from his repository.
2020-03-03 19:58:25 -05:00
Sebastian Huber
4a2f3e5a58
waf: Update to waf-2.0.19
...
Update #3569 .
2020-02-26 11:40:39 +01:00
Sebastian Huber
0d66fd5264
tester: Use prefix for rtems_tools by default
...
Commit 72c684eff2cd932b4948e21902680a93473340c3 removed the default
value of rtems_tools. If the --rtems--tools option was omitted the
rtems-test command printed lots of
error: run.cfg:61: macro '%{rtems_tools}' not found
error messages.
2020-02-26 07:29:53 +01:00
Cláudio Maia
fb241f8a56
Fix typo in error message
2020-02-26 14:18:45 +11:00
Sebastian Huber
629c330e14
tester: Add qemu_opts_serial
...
The realview_pbx_a9_qemu test configuration for Qemu produced no output
due to wrong serial/monitor settings. Remove the serial/monitor
settings from qemu_opts_base and move them to the new qemu_opts_serial.
2020-02-25 09:23:47 +01:00
Sebastian Huber
b9d6d39cb2
linkers: Include proper header file
2020-02-25 09:19:22 +01:00
Sebastian Huber
ed15643221
linkers: Update due to API changes
...
Update #3835 .
2020-02-25 09:19:22 +01:00