Project

General

Profile

Actions

Task #6214

closed

Overriding configuration options from templates

Added by Alexander Kamkin over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Andrei Tatarnikov
Category:
Template Processor
Target version:
Start date:
07/21/2015
Due date:
07/24/2015
% Done:

0%

Estimated time:
Detected in build:
svn
Published in build:
2.3.47

Description

There are three levels for setting up the options (in order of increasing priority):

  1. Configuration file.
  2. Command line.
  3. Test template.

The first two levels have been implemented. The last one needs to be done.

Actions #1

Updated by Andrei Tatarnikov over 7 years ago

  • Priority changed from Normal to High

It is time to do this. Settings need unification since code is getting more and more messy.

Actions #2

Updated by Andrei Tatarnikov over 7 years ago

  • Status changed from New to Resolved

Done. Now it is possible to redefine options in test templates using the set_option_value function. For example:

# Sets the indentation token used in test programs
set_option_value 'indent-token', "\t" 

# Sets the token used in separator lines printed into test programs
set_option_value 'separator-token', "=" 
Actions #3

Updated by Andrei Tatarnikov over 7 years ago

  • Published in build set to 2.3.47
Actions #4

Updated by Andrei Tatarnikov over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF