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

7 lines
126 B
Bash
Raw Permalink Normal View History

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