Compare commits

...

2 commits

Author SHA1 Message Date
Théophile Bastian d45b1ffc36 Add gitignore 2018-03-26 16:10:56 +02:00
Théophile Bastian b85249eee2 First try for run_all_tests 2018-03-26 16:10:02 +02:00
2 changed files with 22 additions and 60 deletions

63
.gitignore vendored
View file

@ -1,60 +1,3 @@
# ---> Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
# Translations
*.mo
*.pot
# Django stuff:
*.log
# Sphinx documentation
docs/_build/
# PyBuilder
target/
./eh_frame_check
./glibc
./venv

19
run_all_tests.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
base_dir="$(dirname "$(readlink -f "$0")")"
cd "$base_dir"
source ./env
eh_frame_check="$base_dir/eh_frame_check/testing/eh_frame_check.py"
glibc_base="$base_dir/glibc/build"
tests=\
$(find "$glibc_base" -executable -name 'test-*' -or -executable -name 'tst-*')
for tst in $tests; do
gdb -q -x "$eh_frame_check" \
-args $glibc_base/elf/ld-linux-x86-64.so.2 \
--library-path "$LIB_PATH" \
"$tst"
done