selecting sucessful tests

This commit is contained in:
Jörg Breitbart
2016-07-12 21:26:38 +02:00
parent d76d50677d
commit 3b89134c05
+7 -1
View File
@@ -70,8 +70,14 @@ describe('Escape code files', function() {
// omit stack trace for escape sequence files
Error.stackTraceLimit = 0;
var files = glob.sync('test/escape_sequence_files/*.in');
// comment/uncomment one of the following
// only sucessful tests
var successful = [0, 2, 6, 12, 13, 18, 20, 22, 27, 28];
for (var a in successful) {
var i = successful[a];
// first 44 are the most basic escape sequences
for (var i=0; i<44; ++i) {
//for (var i=0; i<44; ++i) {
// all tests
//for (var i=0; i<files.length; ++i) {
(function(filename){
it(filename.split('/').slice(-1)[0], function () {