X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/775a95a652df719afe73a091d3de03aefdd07211..cc309f0bc25802386a5f6d8bf2cfc487139ca1e3:/teshsuite/smpi/MBI/RMAWinBufferGenerator.py diff --git a/teshsuite/smpi/MBI/RMAWinBufferGenerator.py b/teshsuite/smpi/MBI/RMAWinBufferGenerator.py index 4d62beebda..8987f28dc5 100755 --- a/teshsuite/smpi/MBI/RMAWinBufferGenerator.py +++ b/teshsuite/smpi/MBI/RMAWinBufferGenerator.py @@ -1,7 +1,7 @@ #! /usr/bin/python3 import os import sys -from generator_utils import * +import generator_utils as gen template = """// @{generatedby}@ /* ///////////////////////// The MPI Bugs Initiative //////////////////////// @@ -83,7 +83,7 @@ int main(int argc, char *argv[]) { """ -for b in ['missing', 'null', 'malloc', 'bufferSize']: +for b in ['missing', 'null', 'malloc', 'bufferSize']: patterns = {} patterns = {'b': b} patterns['origin'] = "MPI-CorrBench" @@ -118,4 +118,4 @@ for b in ['missing', 'null', 'malloc', 'bufferSize']: replace['errormsg'] = '' ok = 'ok' - make_file(template, f'InvalidParam_WinBuffer_{b}_{ok}.c', replace) + gen.make_file(template, f'InvalidParam_WinBuffer_{b}_{ok}.c', replace)