Skip to content

Commit 89a3410

Browse files
author
OutBot CI
committed
refactor: consolidate tests/ to test/ directory
Consolidates duplicate test directories into Mason-standard `test/` (singular). **Changes:** - Move `tests/unit/` → `test/unit/` - Move `tests/properties/` → `test/properties/` - Remove empty `tests/` directory - Update all CI references: `tests/` → `test/` in both GitHub Actions and GitLab CI **Structure:** ``` test/ ├── BasicTests.chpl # Basic smoke tests ├── unit/ # Unit tests │ ├── GeneratorTests.chpl │ ├── PropertyTests.chpl │ └── ShrinkerTests.chpl └── properties/ # Property-based tests └── SelfTests.chpl ``` All tests verified passing after consolidation.
1 parent 26f75f2 commit 89a3410

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ jobs:
4747
- name: Run Generator Tests
4848
run: |
4949
echo "Running Generator Tests..."
50-
chpl tests/unit/GeneratorTests.chpl src/*.chpl -o /tmp/generator_tests
50+
chpl test/unit/GeneratorTests.chpl src/*.chpl -o /tmp/generator_tests
5151
/tmp/generator_tests
5252
5353
- name: Run Shrinker Tests
5454
run: |
5555
echo "Running Shrinker Tests..."
56-
chpl tests/unit/ShrinkerTests.chpl src/*.chpl -o /tmp/shrinker_tests
56+
chpl test/unit/ShrinkerTests.chpl src/*.chpl -o /tmp/shrinker_tests
5757
/tmp/shrinker_tests
5858
5959
- name: Run Property Tests
6060
run: |
6161
echo "Running Property Tests..."
62-
chpl tests/unit/PropertyTests.chpl src/*.chpl -o /tmp/property_tests
62+
chpl test/unit/PropertyTests.chpl src/*.chpl -o /tmp/property_tests
6363
/tmp/property_tests
6464
6565
test-examples:
@@ -104,7 +104,7 @@ jobs:
104104

105105
- name: Run quickchpl self-tests
106106
run: |
107-
chpl tests/properties/SelfTests.chpl src/*.chpl -o /tmp/self_tests
107+
chpl test/properties/SelfTests.chpl src/*.chpl -o /tmp/self_tests
108108
/tmp/self_tests --numTests=${{ env.QUICKCHPL_NUM_TESTS }}
109109
110110
test-matrix:
@@ -124,7 +124,7 @@ jobs:
124124
- name: Build with Chapel ${{ matrix.chapel-version }}
125125
run: |
126126
chpl --version
127-
chpl tests/unit/GeneratorTests.chpl src/*.chpl -o /tmp/test
127+
chpl test/unit/GeneratorTests.chpl src/*.chpl -o /tmp/test
128128
/tmp/test
129129
130130
lint:

.gitlab-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,21 @@ test:unit:generators:
9797
stage: test
9898
script:
9999
- echo "Running Generator Tests..."
100-
- chpl tests/unit/GeneratorTests.chpl src/*.chpl -o /tmp/generator_tests
100+
- chpl test/unit/GeneratorTests.chpl src/*.chpl -o /tmp/generator_tests
101101
- /tmp/generator_tests
102102

103103
test:unit:shrinkers:
104104
stage: test
105105
script:
106106
- echo "Running Shrinker Tests..."
107-
- chpl tests/unit/ShrinkerTests.chpl src/*.chpl -o /tmp/shrinker_tests
107+
- chpl test/unit/ShrinkerTests.chpl src/*.chpl -o /tmp/shrinker_tests
108108
- /tmp/shrinker_tests
109109

110110
test:unit:properties:
111111
stage: test
112112
script:
113113
- echo "Running Property Tests..."
114-
- chpl tests/unit/PropertyTests.chpl src/*.chpl -o /tmp/property_tests
114+
- chpl test/unit/PropertyTests.chpl src/*.chpl -o /tmp/property_tests
115115
- /tmp/property_tests
116116

117117
test:examples:
@@ -131,15 +131,15 @@ test:self:
131131
stage: test
132132
script:
133133
- echo "Running quickchpl self-tests..."
134-
- chpl tests/properties/SelfTests.chpl src/*.chpl -o /tmp/self_tests
134+
- chpl test/properties/SelfTests.chpl src/*.chpl -o /tmp/self_tests
135135
- /tmp/self_tests --numTests=$QUICKCHPL_NUM_TESTS
136136

137137
# Matrix testing for Chapel versions
138138
.test:matrix:
139139
stage: test
140140
script:
141141
- chpl --version
142-
- chpl tests/unit/GeneratorTests.chpl src/*.chpl -o /tmp/test
142+
- chpl test/unit/GeneratorTests.chpl src/*.chpl -o /tmp/test
143143
- /tmp/test
144144

145145
test:chapel-2.6.0:

0 commit comments

Comments
 (0)