Hash : 644c64b3 Author : Thomas de Grivel Date : 2023-04-12T17:29:37
Download
1 2
#!/bin/sh grep -E "^TEST_CASE\(" *.c | while read L; do F="$(echo "$L" | cut -d : -f 1)"; S="$(echo "$L" | cut -d : -f 2)"; N="TEST_CASE($(echo "$S" | cut -c 17-)"; echo "['$F', '$S', '$N']"; done > test.rb