Project

General

Profile

« Previous | Next » 

Revision 7122

bin/map: Made $redo flag default to off, because redo mode is slow (all tables have to be truncated) and is only needed when running tests on a public schema with data in it, which would not be the case on a development machine where tests are usually run

View differences:

bin/map
80 80
    test = opts.env_flag('test', False, env_names)
81 81
    commit = opts.env_flag('commit', False, env_names) and not test
82 82
        # never commit in test mode
83
    redo = opts.env_flag('redo', test, env_names) and not commit
83
    redo = opts.env_flag('redo', False, env_names) and not commit
84 84
        # never redo in commit mode (run `make schemas/reinstall` instead)
85 85
    
86 86
    # Ranges
README.TXT
290 290

  
291 291
Testing:
292 292
    On a development machine, you should put the following in your .profile:
293
        export redo= log= n=2
293
        export log= n=2
294 294
    Mapping process: make test
295 295
        Including column-based import: make test by_col=1
296 296
            If the row-based and column-based imports produce different inserted

Also available in: Unified diff