Skip to content

Commit dcdf168

Browse files
committed
add bash commands and some ambiguous tracks
1 parent fc6b22c commit dcdf168

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

workspace/test_configurations.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,25 @@ var TestConfigurations = map[string]TestConfiguration{
4343
Command: "bash tester.sh",
4444
WindowsCommand: "tester.bat",
4545
},
46+
"awk": {
47+
Command: "bats {{test_files}}",
48+
},
4649
"ballerina": {
4750
Command: "bal test",
4851
},
52+
"bash": {
53+
Command: "bats {{test_files}}",
54+
},
4955
"c": {
5056
Command: "make",
5157
},
5258
"cfml": {
5359
Command: "box task run TestRunner",
5460
},
61+
"clojure": {
62+
// chosen because the docs recommend `clj` by default and `lein` as optional
63+
Command: "clj -X:test",
64+
},
5565
"cobol": {
5666
Command: "bash test.sh",
5767
WindowsCommand: "pwsh test.ps1",
@@ -65,6 +75,10 @@ var TestConfigurations = map[string]TestConfiguration{
6575
"csharp": {
6676
Command: "dotnet test",
6777
},
78+
"d": {
79+
// this always works even if the user installed DUB
80+
Command: "dmd source/*.d -de -w -main -unittest",
81+
},
6882
"dart": {
6983
Command: "dart test",
7084
},
@@ -101,6 +115,9 @@ var TestConfigurations = map[string]TestConfiguration{
101115
"javascript": {
102116
Command: "npm run test",
103117
},
118+
"jq": {
119+
Command: "bats {{test_files}}",
120+
},
104121
"julia": {
105122
Command: "julia runtests.jl",
106123
},

0 commit comments

Comments
 (0)