Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'battery-get-name' into 'master'
[simgrid.git] / teshsuite / smpi / MBI / P2PMatchingANYSRCGenerator.py
index 0c32f7c573ed69483392ac28c1201cb47e5e14d2..ce489af9cbd77a7106e948b76e0c9a3bf1367c0f 100755 (executable)
@@ -100,9 +100,9 @@ for s in gen.send + gen.isend:
         patterns['operation1'] = gen.operation[r]("1")
 
         # Generate the incorrect matching
-        replace = patterns
+        replace = patterns.copy()
         replace['shortdesc'] = 'The message ordering is non-deterministic.'
-        replace['longdesc'] = f'The code assumes a fixed order in the reception of messages while the message ordering is non-deterministic.'
+        replace['longdesc'] = 'The code assumes a fixed order in the reception of messages while the message ordering is non-deterministic.'
         replace['outcome'] = 'ERROR: MessageRace'
         replace['errormsg'] = 'P2P message race which can cause a deadlock. @{r}@ at @{filename}@:@{line:MBIERROR}@ is called with ANY_SRC.'
         gen.make_file(template, f'MessageRace_{r}_{s}_nok.c', replace)