~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/test_server/doc/src/test_server_ctrl.xml

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
  <header>
6
6
    <copyright>
7
7
      <year>2007</year>
8
 
      <year>2008</year>
 
8
      <year>2011</year>
9
9
      <holder>Ericsson AB, All Rights Reserved</holder>
10
10
    </copyright>
11
11
    <legalnotice>
376
376
      </desc>
377
377
    </func>
378
378
    <func>
 
379
      <name>scale_timetraps(Bool) -> ok</name>
 
380
      <fsummary>.</fsummary>
 
381
      <type>
 
382
        <v>Bool = true | false</v>
 
383
      </type>
 
384
      <desc>
 
385
        <p>This function should be called before a test is started.
 
386
          The parameter specifies if test_server should attempt
 
387
          to automatically scale the timetrap value in order to compensate
 
388
          for delays caused by e.g. the cover tool.</p>
 
389
      </desc>
 
390
    </func>
 
391
    <func>
 
392
      <name>get_timetrap_parameters() -> {N,Bool} </name>
 
393
      <fsummary>Read the parameter values that affect timetraps.</fsummary>
 
394
      <type>
 
395
        <v>N = integer() | infinity</v>
 
396
        <v>Bool = true | false</v>
 
397
      </type>
 
398
      <desc>
 
399
        <p>This function may be called to read the values set by
 
400
        <c>multiply_timetraps/1</c> and <c>scale_timetraps/1</c>.</p>
 
401
      </desc>
 
402
    </func>
 
403
    <func>
379
404
      <name>cover(Application,Analyse) -> ok</name>
380
405
      <name>cover(CoverFile,Analyse) -> ok</name>
381
406
      <name>cover(App,CoverFile,Analyse) -> ok</name>
538
563
          test server controller node. The log must be formatted using
539
564
          <c>ttb:format/1/2</c>.
540
565
          </p>
541
 
        <p>This is valid for all targets except the OSE/Delta target
542
 
          for which all nodes will be logged and automatically formatted
543
 
          in one single text file called <c>allnodes-test_server</c>.</p>
544
566
      </desc>
545
567
    </func>
546
568
    <func>
582
604
                    <br></br>
583
605
<c>erl -noshell -s test_server_ctrl run_test KEY1 Value1 KEY2 Value2 ... -s erlang halt</c></p>
584
606
        <p>Or make an alias (this is for unix/tcsh)          <br></br>
585
 
<c>alias erl_test 'erl -noshell -s test_server_ctrl run_test \\!* -s erlang halt'</c></p>
 
607
<c>alias erl_test 'erl -noshell -s test_server_ctrl run_test \!* -s erlang halt'</c></p>
586
608
        <p>And then use it like this          <br></br>
587
609
<c>erl_test KEY1 Value1 KEY2 Value2 ...</c>          <br></br>
588
610
</p>
610
632
          <tag><c>NAME name</c></tag>
611
633
          <item>Names the test suite to something else than the
612
634
           default name. This does not apply to <c>SPEC</c> which keeps
613
 
           it's names.
 
635
           its names.
614
636
          </item>
615
637
          <tag><c>PARAMETERS parameterfile</c></tag>
616
638
          <item>Specifies the parameter file to use when starting