7d739c8fbd
--- Makefile.ug | 6 +- configure.ac | 1 + m4/ugly-stamp.m4 | 2 +- medit/Makefile.ug | 4 + medit/run-tests.sh | 3 + tests/Makefile.am | 43 ++++++-------- tests/testthreads.c | 127 +++++++++++++++++++++++++++++++++++----- tests/testthreads2.c | 155 +++++++++++++++++++++++++++++++++++++++++++++++++ tests/testthreads2.sh | 6 ++ 9 files changed, 303 insertions(+), 44 deletions(-) create mode 100755 medit/run-tests.sh create mode 100644 tests/testthreads2.c create mode 100755 tests/testthreads2.sh
7 lines
146 B
Bash
7 lines
146 B
Bash
#! /bin/sh
|
|
|
|
rm -f testthreads2-log.txt
|
|
echo "Running ./testthreads2"
|
|
./testthreads2 || exit 1
|
|
[ `wc -l < testthreads2-log.txt` = 3300 ] || exit 1
|