From 5cbcbfa61aede7acbf68d9c17cd0723fba21b1c3 Mon Sep 17 00:00:00 2001 From: Christopher Kenna Date: Thu, 20 Sep 2012 16:43:11 -0400 Subject: Ignore and do not version control the configuration file. The configuration file is different per-user. We don't want to keep it under version control. --- config/config.py | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 config/config.py (limited to 'config/config.py') diff --git a/config/config.py b/config/config.py deleted file mode 100644 index 5176460..0000000 --- a/config/config.py +++ /dev/null @@ -1,46 +0,0 @@ -from __future__ import print_function -import os -import sys - -REPOS = {'liblitmus' : '/home/hermanjl/git/liblitmus', - 'sched_trace' : '/home/hermanjl/git/sched_trace', - 'analysis' : '/home/hermanjl/git/overhead-analysis-cjk', - 'ft_tools' : '/home/hermanjl/git/ft_tools/ftcat', - 'trace-cmd' : '/home/hermanjl/git/trace-cmd'} - -BINS = {'bespin' : '{}/bespin'.format(REPOS['liblitmus']), - 'colorspin' : '{}/colorspin'.format(REPOS['liblitmus']), - 'rtspin' : '{}/rtspin'.format(REPOS['liblitmus']), - 'release' : '{}/release_ts'.format(REPOS['liblitmus']), - 'ftcat' : '{}/ftcat'.format(REPOS['ft_tools']), - 'st_trace' : '{}/st_trace'.format(REPOS['ft_tools']), - 'split' : '{}/split'.format(REPOS['analysis']), - 'sort' : '{}/sort-all'.format(REPOS['analysis']), - 'analyze' : '{}/analyze'.format(REPOS['analysis']), - 'trace-cmd' : '{}/trace-cmd'.format(REPOS['trace-cmd'])} - -DEFAULTS = {'params_file' : 'params.py', - 'sched_file' : 'sched.py', - 'exps_file' : 'exps.py', - 'duration' : '10', - 'spin' : 'rtspin'} - -FILES = {'ft_data' : 'ft.bin', - 'linux_data' : 'trace.dat', - 'sched_data' : 'st-{}.bin', - 'log_data' : 'trace.slog'} - -PARAMS = {'sched' : 'scheduler', - 'dur' : 'duration'} - -valid = True -for repo, loc in REPOS.items(): - if not os.path.isdir(loc): - valid = False - print("Cannot access repo '%s' at '%s'" % (repo, loc), file=sys.stderr) -for prog, loc in BINS.items(): - if not os.path.isfile(loc): - valid = False - print("Cannot access program '%s' at '%s'" % (prog, loc), file=sys.stderr) -if not valid: - print("Errors in config file", file=sys.stderr) -- cgit v1.2.2