From: fennecdjay Date: Sun, 7 Jul 2019 16:42:24 +0000 (+0200) Subject: :bug: Fix comments (and add tests) X-Git-Tag: nightly~2348^2~36 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=0b9109420677992942db080f5ff84ab2aab48839;p=gwion.git :bug: Fix comments (and add tests) --- diff --git a/ast b/ast index 1b4487bf..7594db9f 160000 --- a/ast +++ b/ast @@ -1 +1 @@ -Subproject commit 1b4487bfbb845050d0b5c0ed1a1564c9edf4f7ec +Subproject commit 7594db9ff91af21530f6cfc4b4a5c0a583b9adae diff --git a/help/lcov.sh b/help/lcov.sh deleted file mode 100644 index 539768c1..00000000 --- a/help/lcov.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -OUTFILE=lcov/lcov.info - -[ -d lcov ] || mkdir lcov - -lcov --no-external --capture --directory src --output-file "$OUTFILE" - -[ -z "$TRAVIS_BUILD_DIR" ] || { - coveralls-lcov lcov/lcov.info - exit -} - -genhtml -q -s -t "Gwion: coverage" -o lcov --precision 2 $OUTFILE - -keyboard_cb() { -cat << EOF > lcov/helper_gcov.js -var i = 1; -var cusid_ele = document.getElementsByClassName('$1'); -function keyDownTextField(e) { -var keyCode = e.keyCode; - if(keyCode==78) { - var item = cusid_ele[i]; - cusid_ele[i].scrollIntoView(); - i++; - } else if(keyCode==66){ - i--; - var item = cusid_ele[i]; - cusid_ele[i].scrollIntoView(); - } - if(i < 1) i = 1; - var size = cusid_ele.length - 1; - if(i > size) i = size; -} -document.addEventListener("keydown", keyDownTextField, false); -EOF -} - -keyboard_cb 'LineNoCov' -keyboard_cb 'coverFnLo' - -for file in lcov/**/*.c.gcov.html -do sed -i 's//