forked from genie-model/cgenie
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun_sequence.sh
37 lines (25 loc) · 875 Bytes
/
run_sequence.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
# Exit immediately if a command exits with a non-zero status.
set -e
#Permission for running this script
chmod +x run_sequence.sh
# Remove the .ctoasterrc file from the home directory
rm -rf ~/.ctoasterrc
# Execute the setup script for ctoaster
./setup-ctoaster
# Run basic tests
./tests run basic
# Start a new job with specified parameters
./new-job -b cgenie.eb_go_gs_ac_bg.p0650e.NONE -u LABS/LAB_0.snowball snowball 10
# Change directory to the snowball jobs directory
cd ~/ctoaster.cupcake-jobs/snowball
# Execute the go run command
./go run
# Clean up after the run
./go clean
# Change directory to the ctoaster.cupcake directory
cd ../../ctoaster.cupcake
# Run the cupcake with specified parameters
./run-cupcake cgenie.eb_go_gs_ac_bg.p0650e.NONE LABS LAB_0.snowball 10
# Execute the coverage command with the basic parameter
./coverage basic