File: TR_makeflow_alloc_output.sh

package info (click to toggle)
cctools 1%3A7.14.5-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 36,956 kB
  • sloc: ansic: 114,614; python: 29,532; cpp: 20,313; sh: 13,675; perl: 4,056; xml: 3,688; makefile: 1,436
file content (30 lines) | stat: -rwxr-xr-x 452 bytes parent folder | download | duplicates (3)
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
#!/bin/sh

. ../../dttools/test/test_runner_common.sh

prepare()
{
	clean $@
}

run()
{
	cd alloc
	../../src/makeflow alloc.mf --local-cores 2 --storage-type 2 --storage-limit 5 
	# This should fail as the output only tracking doesn't do an adequate job
	if [ $? -eq 1 ]; then
		exit 0
	else
		exit 1
	fi
}

clean()
{
	cd alloc && ../../src/makeflow -c alloc.mf && rm -f alloc.out  && exit 0
	exit 1
}

dispatch "$@"

# vim: set noexpandtab tabstop=4: