File: duplicate.xml

package info (click to toggle)
jube 2.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,640 kB
  • sloc: python: 8,415; xml: 838; sh: 180; makefile: 14
file content (22 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<jube>
  <benchmark name="parameter_duplicate_example" outpath="bench_run">
    <comment>parameter duplicate example</comment>
     
    <parameterset name="options" duplicate="concat">
      <parameter name="iterations"	     >1</parameter>
      <parameter name="iterations" tag="few" >2,3,4</parameter>
      <parameter name="iterations" tag="many">20,30,40</parameter>
    </parameterset>

    <parameterset name="result">
      <parameter name="sum" mode="python">int(${iterations}*(${iterations}+1)/2)</parameter>
    </parameterset>

    <step name="perform_iterations">
      <use>options,result</use>
      <do>echo $sum</do>
    </step>

  </benchmark>
</jube>