Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/tst/testinstall/hpc/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 728 B image not shown  

Quelle  fix-coverage.tst   Sprache: unbekannt

 
#@if IsHPCGAP
#
# some tests to specifically trigger code which causes the coverage reports on
# codecov to fluctuate (due to indeterminism in the multi threaded execution).
#
# ideally, these should be moved to better fitting test files in the future.
#

# hit early return in TraverseRegionFrom(), from src/hpc/traverse.c
# by doing a StructuralCopy on an object we don't have access on
gap> x:=0;;
gap> WaitThread( CreateThread( function() x:=[1,2,3]; end ) );
gap> StructuralCopy(x);
Error, Object not in a readable region


# threadapi.c:
#  - fluctuation in SignalMonitor: need to get to queue = queue->next;
#  - fluctuation in SyncRead

# stdtasks.g:
#   FireTrigger:    if trigger.done then return; fi   at start

#@fi

[ Dauer der Verarbeitung: 0.22 Sekunden  (vorverarbeitet)  ]