.gitlab-ci.yml: Silence pywriter harder
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Tue, 4 May 2021 08:03:17 +0000 (10:03 +0200)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 19:18:22 +0000 (20:18 +0100)
"make -j$(nproc) pywriter" and "pywriter" fill the log with over 20000
lines like this:

> /builds/neuschaefer/soc/openpower-isa/src/openpower/decoder/power_decoder.py:420: UnusedElaboratable: <openpower.decoder.power_decoder.PowerDecoder object at 0x7f4bf8ae8e48> created but never used
>   row_subset=self.row_subsetfn)
> UnusedElaboratable: Enable tracemalloc to get the object allocation traceback

Ideally, the relevant code should be fixed to avoid this warning, but for now,
I'm silencing it, so I can fit more relevant output into GitLab-CI's 4 MiB limit.

.gitlab-ci.yml

index 0eb2dcd1024f302d7080207e21676fc751bc2d7c..ca1a9489a92171ef6975153fbbfbf601c5968ac0 100644 (file)
@@ -84,7 +84,7 @@ build:
         - pushd openpower-isa
         - python3 setup.py develop
         - make -j$(nproc) svanalysis > /dev/null
-        - make -j$(nproc) pywriter > /dev/null
+        - make -j$(nproc) pywriter > /dev/null 2>&1
         - popd
 
         - git clone --depth 1 https://git.libre-soc.org/git/c4m-jtag.git c4m-jtag
@@ -117,5 +117,5 @@ build:
         - popd
 
         - python setup.py develop
-        - pywriter > /dev/null
+        - pywriter > /dev/null 2>&1
         - nosetests -v --processes=-1 --process-timeout=120