const expect = require('chai').expect;

const version = process.env.QB_VERSION;

describe('check compiler version inside docker', function () {
    it('should have the same version', async () => {
        const exec = require('child_process').exec;
        let options = {
            timeout: 60000,
            killSignal: 'SIGKILL'
        };
        const result = await new Promise(resolve => exec(`docker run --rm -v ${__dirname}/env/version.cpp:/home/builder/bench-file.cpp -t fredtingaud/quick-bench:${version} /bin/bash -c "./build && ./run"`, options, (error, stdout, stderr) => {
            resolve(stdout + stderr);
        }));
        expect(result).to.eql(version);
    }).timeout(60000);
});

@@ -702,8 +702,593 @@
 0);%0A%7D);%0A
+%0Adescribe('check available standards', function() %7B%0A    it('should contain multiple standards', async() =%3E%7B%0A        const exec = require('child_process').exec;%0A        let options = %7B%0A            timeout: 60000,%0A            killSignal: 'SIGKILL'%0A        %7D;%0A        const result = await new Promise(resolve =%3E exec(%60docker run --rm -t fredtingaud/quick-bench:$%7Bversion%7D /bin/bash -c %22./std-versions%22%60, options, (error, stdout, stderr) =%3E %7B%0A            resolve(stdout + stderr);%0A        %7D));%0A        expect(result).to.not.be.empty();%0A        expect(result).to.contain('c++11');%0A    %7D)%0A%7D)

Add a test for std-versions script