mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-04 01:25:04 +03:00
Make sure output directory is right in test (#1089)
* chore: make sure output directory is right in test * chore: make --no-profile work again
This commit is contained in:
parent
95cd7852ac
commit
b83ff8a024
@ -136,7 +136,7 @@ main = do
|
||||
_ <-
|
||||
ifCarpDirSet
|
||||
( pure startingContext
|
||||
>>= load [carpProfile | hasProfile]
|
||||
>>= load [carpProfile | hasProfile && profile]
|
||||
>>= execStrs "Preload" preloads
|
||||
>>= loadOnce coreModulesToLoad
|
||||
>>= load argFilesToLoad
|
||||
|
@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Runs the executable and compares its output to the .expected file
|
||||
./scripts/carp.sh $1 --log-memory -b && \
|
||||
export CARP_OPTS="$CARP_OPTS $1 --log-memory -b --no-profile"
|
||||
./scripts/carp.sh && \
|
||||
./out/Untitled > test/output/$1.output.actual 2>&1
|
||||
echo $1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user