Skip to content

Commit 0e69b8b

Browse files
committed
Rename subject tests and remove old tests
1 parent 462e533 commit 0e69b8b

File tree

8 files changed

+14
-52
lines changed

8 files changed

+14
-52
lines changed

test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains Cram tests for Stellogen.
44

55
## Test Files
66

7-
- `subjects.t` - Tests for basic syntax subjects in `test/subjects/`
7+
- `syntax.t` - Tests for basic syntax in `test/syntax/`
88
- `examples.t` - Tests for all examples in `examples/`
99

1010
## Running Tests

test/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
; Cram tests for Stellogen examples and subjects
1+
; Cram tests for Stellogen examples and syntax
22
(cram
33
(deps
4-
(glob_files ./subjects/*.sg)
4+
(glob_files ./syntax/*.sg)
55
(glob_files ../examples/*.sg)
66
(glob_files ../exercises/solutions/*.sg)
77
(package stellogen)))

test/subjects.t

Lines changed: 0 additions & 11 deletions
This file was deleted.

test/syntax.t

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Test syntax - basic syntax tests
2+
==================================
3+
4+
Linear execution test:
5+
$ sgen run syntax/linear.sg
6+
7+
Prolog-style test:
8+
$ sgen run syntax/prolog.sg
9+
10+
Records test:
11+
$ sgen run syntax/records.sg
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/test.ml.old

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)