mutter/cogl/tests/unit/meson/find-unit-tests.sh

7 lines
128 B
Bash
Raw Normal View History

#!/bin/bash
inputfile="$1"
outputfile="$2"
nm "$inputfile" | grep '[DR] _\?unit_test_'|sed 's/.\+ [DR] _\?//' > "$outputfile"