Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork412
Commitffbf013
authored
Set the XDG_CACHE_HOME for tests (#4572)
* Run all tests with temporary 'XDG_CACHE_HOME'This makes sure each test run is independent.Makes the tests* iface-error-test-1* iface-th-testless flaky locally.Should not have any effect on the CI flakiness issue.---Fix test cases to work with the temporary `XDG_CACHE_HOME`Some tests were launching additional HLS instances for the tests.Fixed, which should make the test slightly faster.* Run ghcide-tests if the hls-test-utils changesGhcide test infrastructure was refactored to depend on `hls-test-utils`.* Always use the same `mkHomeModLocation` for `mAIN_NAME`* Make cabal-add test directories considerably shorter* Make hls-test-root name shorter* Revert `mkHomeModLocation` changes* Overwrite test root dir on windows CI jobAdds support for the `HLS_TEST_ROOTDIR` which allows to overwrite thelocation for the test case artifacts.1 parentff7a3c3 commitffbf013
File tree
38 files changed
+146
-81
lines changed- .github
- actions/setup-build
- workflows
- ghcide-test/exe
- hls-test-utils/src/Test
- plugins/hls-cabal-plugin/test
- testdata/cabal-add-testdata
- bench
- bench
- exe
- src
- lib
- src
- multitarget
- bench
- lib
- src
- test
- packageYaml
- src
- tests
- test
38 files changed
+146
-81
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
189 | 186 | | |
190 | 187 | | |
191 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
511 | | - | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
512 | 532 | | |
513 | 533 | | |
514 | 534 | | |
515 | 535 | | |
516 | 536 | | |
517 | 537 | | |
518 | 538 | | |
519 | | - | |
520 | | - | |
| 539 | + | |
| 540 | + | |
521 | 541 | | |
522 | 542 | | |
523 | 543 | | |
524 | 544 | | |
525 | | - | |
526 | | - | |
| 545 | + | |
| 546 | + | |
527 | 547 | | |
528 | 548 | | |
529 | 549 | | |
530 | 550 | | |
531 | | - | |
| 551 | + | |
532 | 552 | | |
533 | 553 | | |
534 | | - | |
535 | | - | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
536 | 577 | | |
537 | 578 | | |
538 | 579 | | |
| |||
565 | 606 | | |
566 | 607 | | |
567 | 608 | | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | 609 | | |
573 | 610 | | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
580 | 621 | | |
581 | 622 | | |
582 | 623 | | |
| |||
692 | 733 | | |
693 | 734 | | |
694 | 735 | | |
695 | | - | |
696 | 736 | | |
697 | 737 | | |
698 | 738 | | |
| |||
747 | 787 | | |
748 | 788 | | |
749 | 789 | | |
750 | | - | |
751 | | - | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
752 | 804 | | |
753 | 805 | | |
754 | 806 | | |
| |||
792 | 844 | | |
793 | 845 | | |
794 | 846 | | |
795 | | - | |
796 | | - | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
797 | 851 | | |
798 | 852 | | |
799 | 853 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments
Comments
(0)