| ff37ca5d | 19-Sep-2018 |
Thomas Monjalon <[email protected]> |
devtools: use a common prefix for temporary files
Some temporary files were generated in /tmp, others in the current directory, and none was "dpdk prefixed".
All these files have a common path pref
devtools: use a common prefix for temporary files
Some temporary files were generated in /tmp, others in the current directory, and none was "dpdk prefixed".
All these files have a common path prefix now: $TMPDIR/dpdk. TMPDIR is /tmp by default.
Note: the previous use of mktemp, with a template but without -t, was generating a file in the current directory.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| 8f3ea0a0 | 01-Oct-2018 |
Thomas Monjalon <[email protected]> |
devtools: fix printing subject of checked patch
If checkpatches.sh is not run with verbose option (-v), the patch subject is printed as headline of errors only if there is an error reported by check
devtools: fix printing subject of checked patch
If checkpatches.sh is not run with verbose option (-v), the patch subject is printed as headline of errors only if there is an error reported by checkpatch.pl, not with other checks. The headline is moved to a function which is called after each check if there is an error and if it has not already be printed.
One more addition, in verbose mode, checkpatch.pl is now announced as done for other checks.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Neil Horman <[email protected]>
show more ...
|
| d633ed10 | 01-Aug-2018 |
Gavin Hu <[email protected]> |
devtools: fix checkpatch with dash
When running checkpatch.sh, it generates the following error on some linux distributions(like Debian) with Dash as the default shell interpreter. trap: SIGINT: bad
devtools: fix checkpatch with dash
When running checkpatch.sh, it generates the following error on some linux distributions(like Debian) with Dash as the default shell interpreter. trap: SIGINT: bad trap
The fix is to replace SIGINT with INT signal, it works for both bash and dash.
Fixes: 4bec48184e ("devtools: add checks for ABI symbol addition") Cc: [email protected]
Signed-off-by: Gavin Hu <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Acked-by: John McNamara <[email protected]> Tested-by: Vipin Varghese <[email protected]>
show more ...
|
| 3cc605be | 19-Jul-2018 |
Pablo de Lara <[email protected]> |
devtools: add compressdev tests to build test
Compressdev tests depend on Zlib library, so they can only be enabled if this is available.
Signed-off-by: Pablo de Lara <[email protected]
devtools: add compressdev tests to build test
Compressdev tests depend on Zlib library, so they can only be enabled if this is available.
Signed-off-by: Pablo de Lara <[email protected]>
show more ...
|
| 44e830c4 | 29-Jun-2018 |
Gavin Hu <[email protected]> |
devtools: expand meson cross compiling test coverage
The default test script covers only default host cc compiler, either gcc or clang, the fix is to increase the coverage by adding one more to cove
devtools: expand meson cross compiling test coverage
The default test script covers only default host cc compiler, either gcc or clang, the fix is to increase the coverage by adding one more to cover clang and the others for gcc.
Fixes: a55277a788 ("devtools: add test script for meson builds") Cc: [email protected]
Signed-off-by: Gavin Hu <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Song Zhu <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| 03843d4d | 08-Jun-2018 |
Bruce Richardson <[email protected]> |
devtools: fix ARM builds test with meson
For cross-builds the CC environmental variable only applies for compiling native binaries i.e. pmdinfogen, so setting it to a cross-build compiler will only
devtools: fix ARM builds test with meson
For cross-builds the CC environmental variable only applies for compiling native binaries i.e. pmdinfogen, so setting it to a cross-build compiler will only cause problems. Leave the value unset in the script to use the platform-default compiler.
Fixes: a55277a788df ("devtools: add test script for meson builds") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|