Reinhard Max 2024-05-29 14:30:53 +00:00 committed by Git OBS Bridge
parent b2f36b59fe
commit d35a798a03
2 changed files with 10 additions and 3 deletions

View File

@ -1,10 +1,16 @@
--- reference.c.orig
+++ reference.c
@@ -562,6 +562,7 @@ is_offset_ok(double offset)
@@ -562,6 +562,13 @@ is_offset_ok(double offset)
return 1;
}
+ LOG(LOGS_WARN, "offset = % .010f ", offset);
+ static int firsttime = 1;
+ if (firsttime) {
+ LOG(LOGS_WARN, "max_offset = % .010f ", max_offset);
+ firsttime = 0;
+ }
+
+ LOG(LOGS_WARN, "offset = % .010f ", offset);
if (fabs(offset) > max_offset) {
LOG(LOGS_WARN,
"Adjustment of %.3f seconds exceeds the allowed maximum of %.3f seconds (%s) ",

View File

@ -298,8 +298,8 @@ find %{buildroot} -type f | xargs sed -i '
# Set random seed to get deterministic results
export CLKNETSIM_RANDOM_SEED=24501
export CFLAGS="%{optflags}"
export CLKNETSIM_CONNECT_TIMEOUT=100
make %{?_smp_mflags} -C test/simulation/clknetsim
%if 0
pushd test/simulation
./124-tai ||:
for f in tmp/*; do
@ -309,6 +309,7 @@ done
echo
popd
exit 1
%endif
make %{?_smp_mflags} quickcheck
%endif
%endif