- CLEANTEST=false
- BREWOPTS="-Duseithreads"
- BREWVER=5.8.5
+ - DBIC_TRACE_PROFILE=console
# minimum supported without threads
- perl: 5.8.3_nt
- CLEANTEST=false
- BREWOPTS=""
- BREWVER=5.8.3
+ - DBIC_TRACE_PROFILE=console_monochrome
# check CLEANTEST of minimum supported
- perl: 5.8.3_nt_mb
- BREWOPTS="-Duseithreads -Dusemorebits"
- BREWVER=5.8.8
+ # some permutations of tracing envvar testing
+ - perl: 5.16
+ env:
+ - CLEANTEST=false
+ - DBIC_TRACE=1
+
+ - perl: 5.16
+ env:
+ - CLEANTEST=true
+ - DBIC_TRACE=1
+ - DBIC_TRACE_PROFILE=console
+
+ - perl: 5.16
+ env:
+ - CLEANTEST=false
+ - DBIC_TRACE=1
+ - DBIC_TRACE_PROFILE=console_monochrome
+
# sourcing the files is *EXTREMELY* important - otherwise
# no envvars will survive
$schema->storage->debugobj ($debugobj);
$schema->storage->debug (1);
throws_ok { $fks->update ({ read_count => \ 'read_count + 1' }) } # this can't actually execute, we just need the "as_query"
- qr/\Q DBI Exception:/ or do { $sql = ''; @bind = () };
+ qr/\QDBI Exception:/ or do { $sql = ''; @bind = () };
$schema->storage->_use_multicolumn_in (undef);
$schema->storage->debugobj ($orig_debugobj);
$schema->storage->debug ($orig_debug);