Changeset 155bf95 in Lumiera
- Timestamp:
-
2017-02-22T02:17:18Z
(10 years ago)
- Author:
- Ichthyostega <prg@…>
- Branches:
- deb, dev/play, documentation, integration, master
- Children:
- b4e0f6b
- Parents:
- 42d97f6
- Message:
-
Doxygen: magically insert a reference to the test class
this bit of Sed magic relies on the fact that we happen to write
the almost correct class name of a test into the header comment.
HOWTO:
for F in $(find tests -type f \( -name '*.cpp' \) -exec egrep -q '§§TODO§§' {} \; -print);
do sed -r -i -e'
2 {h;x;s/\s+(.+)\(Test\).*$/
ref \1_test/;x};
/§§TODO§§/ {s/§§TODO§§;G;s/\n}'
$F;
done
-
(No files)
-