mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-17 14:01:27 +08:00
* lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
duration of the test suite.
This commit is contained in:
parent
c659b9f763
commit
2bac6c8ee8
@ -1,3 +1,8 @@
|
||||
2001-08-13 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
|
||||
duration of the test suite.
|
||||
|
||||
2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
|
||||
|
||||
* tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
|
||||
|
@ -239,7 +239,9 @@ else
|
||||
} >&6
|
||||
fi
|
||||
|
||||
|
||||
at_start_date=`date`
|
||||
at_start_time=`date +%s` 2>/dev/null
|
||||
echo "$as_me: starting at: $at_start_date" >&6
|
||||
at_fail_list=
|
||||
at_skip_list=
|
||||
at_test_count=0
|
||||
@ -293,6 +295,19 @@ _ATEOF
|
||||
esac
|
||||
done
|
||||
|
||||
at_stop_date=`date`
|
||||
at_stop_time=`date +%s` 2>/dev/null
|
||||
echo "$as_me: ending at: $at_stop_date" >&6
|
||||
at_duration_s=`expr $at_stop_time - $at_start_time` 2>/dev/null
|
||||
at_duration_m=`expr $at_duration_s / 60` 2>/dev/null
|
||||
at_duration_h=`expr $at_duration_m / 60` 2>/dev/null
|
||||
at_duration_s=`expr $at_duration_s % 60` 2>/dev/null
|
||||
at_duration_m=`expr $at_duration_m % 60` 2>/dev/null
|
||||
at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
|
||||
if test "$at_duration" != "h m s"; then
|
||||
echo "$as_me: test suite duration: $at_duration" >&6
|
||||
fi
|
||||
|
||||
# Cleanup everything unless the user wants the files.
|
||||
$at_debug || rm -rf $at_data_files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user