test-bugzilla-files/config         |    1 +
 test-bugzilla-files/new-control.py |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 3a2e47818088f661183d195131dac0bdbeebc49a
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Tue Nov 15 10:20:18 2022 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Tue Nov 15 20:48:56 2022 +0100

    Make number of files processed by a worker configurable
    
    Many files on a worker may result in a few longer running
    processes thus not utilizing the available parallelism.
    
    This option may be most useful in smaller file sets in testing runs.
    
    Change-Id: I48a18fd79195634320df8ff73985ba735f9c3ea9
    Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/142729
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

diff --git a/test-bugzilla-files/config b/test-bugzilla-files/config
index e52aecd..5f81cee 100644
--- a/test-bugzilla-files/config
+++ b/test-bugzilla-files/config
@@ -5,6 +5,7 @@ export INSTDIR=$BUILDDIR/instdir
 export USERDIR=/home/$USER/.config
 export WORKERS=72
 export DTPATH=~/source/dev-tools/
+export FILESNR=100
 
 # Warning limits
 export DISKSPACELIMIT=5      # Remaining disk space warning limit in GiB.
diff --git a/test-bugzilla-files/new-control.py 
b/test-bugzilla-files/new-control.py
index 60010ca..2a95970 100644
--- a/test-bugzilla-files/new-control.py
+++ b/test-bugzilla-files/new-control.py
@@ -150,7 +150,7 @@ if __name__ == "__main__":
         print("no valid directory")
         sys.exit(1)
 
-    task_size = 100
+    task_size = int(os.environ["FILESNR"])
     workers = int(os.environ["WORKERS"])
     if asan == 1:
         workers = 64

Reply via email to