Skip to content

Commit 78690ed

Browse files
committed
add readme
1 parent 6eb7039 commit 78690ed

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
In the root of this repo (e.g. `~/Projects/JuliaGenerable`):
2+
3+
Generate function and type records
4+
5+
julia --project=./TypeDiscover.jl -e 'using TypeDiscover; typediscover(; funcfile="./Inputs/stdf.jlg", typefile="./Inputs/stdt.jlg")'
6+
7+
Build the Java project
8+
9+
mvn -f ./Project/pom.xml package
10+
11+
Generate the test cases
12+
13+
java -cp ./Project/target/JuliaGenerable2-1.0-SNAPSHOT.jar prlprg.App -c=NONE -r=./Inputs/ -f=stdf.jlg -t=stdt.jlg -h=FALSE -s=FALSE
14+
15+
Install dependencies in a shared Julia environment (this stays between runs and can be reused)
16+
17+
julia ./StabilityChecker/shenv.jl ./pkgs.txt
18+
19+
And run the tests
20+
21+
julia ./StabilityChecker/test.jl ./imports.jl ./tests.jl
22+
23+
If all goes well, you should see results such as
24+
25+
Results: Passed 100.0% of 1771 tests
26+
PASSED: 1771
27+
FAILED: 0
28+
STABLE: 1446
29+
UNSTABLE: 325
30+
31+
> TODO: there's a bug and some modules make it into the tests, eg. `isstablecall(Base, [])`. For now, these need to be commented out manually.

0 commit comments

Comments
 (0)