#47694: scripts for random generation and autotest Open Date: 2023-03-25 23:53 Last Update: 2023-06-14 05:27 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/47694 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47694 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-06-14 05:27 Updated by: cazfi * Status Update from Open to Closed * Owner Update from (None) to cazfi * Resolution Update from None to Fixed * Component Update from (None) to Project Comment: These now in https://github.com/freeciv/freeciv-environments/tree/main/testing/alain_bkr --------------------------------------------------------------------- Ticket Status: Reporter: alain_bkr Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: (None) Component: Project Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Edited : The now improved scripts, which allow to append files (and thus avoid editing the script to modify something) loop_random_test.sh -n=4 -img=0 small.srv oneAI.srv will create a directory and run 4 times the random_tests.sh with the given arguments random_tests.sh -img=10 small.srv oneAI.srv generates a .serv file with random parameters (map size is the most problematic, huge maps are very slow to run, so currently limited to 50 ) -img=10 generate mapimg each 10 turns overwrite randomly generated parameters with those read from the files (small.srv and oneAI.srv ) then run the server a till the end (win or maxturn reached) and save each turn log everything (server log is a given parameter, and |tee all what is displayed, so we can filter later) Directory names, and file names have a high probability to be unique : Size NumberOfAI Landmass Date Sz37-Ai028-Lm15-20230325-100653/ I added in the comment at the end of the scripts, my current filters for errors : number of oweverflow ( see #46286 ) -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/47694 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47694