Skip to content

Commit

Permalink
fix a test to make it pass different gcc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tolk-vm committed Jan 30, 2023
1 parent 4160dc1 commit 883f390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/depfiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func Test_MDMF(t *testing.T) {
}

func Test_MTMTMQMQMMP(t *testing.T) {
var cmdLineStr = "g++ -MD -MF dt/dep1/out.d -MT func.i -MT $(#func.j) -MQ $(#func.k) -MQ some/long/option/will/be/placed/on/next/line/func.o -o dt/dep1/1111.cpp.o dt/./dep1/1.cpp -MMD"
var cmdLineStr = "g++ -MD -MF dt/dep1/out.d -MQ $(#func.k) -MQ some/long/long/long/long/option/will/be/placed/on/next/line/func.o -MT func.i -MT $(#func.j) -o dt/dep1/1111.cpp.o dt/./dep1/1.cpp -MMD"
runGccWithNoccAndCompareOutputDepfiles(t, cmdLineStr, "dt/dep1", "dt/dep1/out.d")
}

Expand Down

0 comments on commit 883f390

Please sign in to comment.