from __future__ import print_function

# Imports
import os

############################################
# CONSTANTS
############################################

DEFAULT_SKIP = True
DEFAULT_NUM_RETRIES = 3
DEFAULT_FAIL_FAST = False
DEFAULT_FAMILIES = ["autoparallel",
                    "c",
                    "cloud",
                    "java",
                    "performance",
                    "pscos",
                    "python",
                    "tools",
                    "fault_tolerance"]
DEFAULT_TESTS = []

DEFAULT_CFG_FILE = "NIO.cfg"
DEFAULT_CFG_EXTENSION = ".cfg"
DEFAULT_COMPSS_HOME = "/opt/COMPSs/"
DEFAULT_COMM = "es.bsc.compss.nio.master.NIOAdaptor"
DEFAULT_EXECUTION_ENVS = ["python2", "python3", "python2_mpi", "python3_mpi"]

SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
TESTS_DIR = os.path.join(SCRIPT_DIR, "../sources")
CONFIGURATIONS_DIR = os.path.join(SCRIPT_DIR, "../configurations")
RUNCOMPSS_REL_PATH = "Runtime/scripts/user/runcompss"
CLEAN_PROCS_REL_PATH = "Runtime/scripts/utils/compss_clean_procs"

from __future__ import print_function

# Imports
import os

############################################
# CONSTANTS
############################################

DEFAULT_SKIP = True
DEFAULT_NUM_RETRIES = 3
DEFAULT_FAIL_FAST = False
DEFAULT_FAMILIES = [
                    "agents",
                    "autoparallel",
                    "c",
                    "cloud",
                    "java",
                    "performance",
                    "pscos",
                    "python",
                    "tools",
                    "fault_tolerance"]
DEFAULT_TESTS = []

DEFAULT_CFG_FILE = "NIO.cfg"
DEFAULT_CFG_EXTENSION = ".cfg"
DEFAULT_COMPSS_HOME = "/opt/COMPSs/"
DEFAULT_COMM = "es.bsc.compss.nio.master.NIOAdaptor"
DEFAULT_EXECUTION_ENVS = ["python2", "python3", "python2_mpi", "python3_mpi"]

SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
TESTS_DIR = os.path.join(SCRIPT_DIR, "../sources")
CONFIGURATIONS_DIR = os.path.join(SCRIPT_DIR, "../configurations")
RUNCOMPSS_REL_PATH = "Runtime/scripts/user/runcompss"
CLEAN_PROCS_REL_PATH = "Runtime/scripts/utils/compss_clean_procs"

Include agents as a default test family
Include agents as a default test family

  from __future__ import print_function
  
  # Imports
  import os
  
  ############################################
  # CONSTANTS
  ############################################
  
  DEFAULT_SKIP = True
  DEFAULT_NUM_RETRIES = 3
  DEFAULT_FAIL_FAST = False
- DEFAULT_FAMILIES = ["autoparallel",
+ DEFAULT_FAMILIES = [
+                     "agents",
+                     "autoparallel",
                      "c",
                      "cloud",
                      "java",
                      "performance",
                      "pscos",
                      "python",
                      "tools",
                      "fault_tolerance"]
  DEFAULT_TESTS = []
  
  DEFAULT_CFG_FILE = "NIO.cfg"
  DEFAULT_CFG_EXTENSION = ".cfg"
  DEFAULT_COMPSS_HOME = "/opt/COMPSs/"
  DEFAULT_COMM = "es.bsc.compss.nio.master.NIOAdaptor"
  DEFAULT_EXECUTION_ENVS = ["python2", "python3", "python2_mpi", "python3_mpi"]
  
  SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
  TESTS_DIR = os.path.join(SCRIPT_DIR, "../sources")
  CONFIGURATIONS_DIR = os.path.join(SCRIPT_DIR, "../configurations")
  RUNCOMPSS_REL_PATH = "Runtime/scripts/user/runcompss"
  CLEAN_PROCS_REL_PATH = "Runtime/scripts/utils/compss_clean_procs"
  
Include agents as a default test family
## Code Before:
from __future__ import print_function

# Imports
import os

############################################
# CONSTANTS
############################################

DEFAULT_SKIP = True
DEFAULT_NUM_RETRIES = 3
DEFAULT_FAIL_FAST = False
DEFAULT_FAMILIES = ["autoparallel",
                    "c",
                    "cloud",
                    "java",
                    "performance",
                    "pscos",
                    "python",
                    "tools",
                    "fault_tolerance"]
DEFAULT_TESTS = []

DEFAULT_CFG_FILE = "NIO.cfg"
DEFAULT_CFG_EXTENSION = ".cfg"
DEFAULT_COMPSS_HOME = "/opt/COMPSs/"
DEFAULT_COMM = "es.bsc.compss.nio.master.NIOAdaptor"
DEFAULT_EXECUTION_ENVS = ["python2", "python3", "python2_mpi", "python3_mpi"]

SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
TESTS_DIR = os.path.join(SCRIPT_DIR, "../sources")
CONFIGURATIONS_DIR = os.path.join(SCRIPT_DIR, "../configurations")
RUNCOMPSS_REL_PATH = "Runtime/scripts/user/runcompss"
CLEAN_PROCS_REL_PATH = "Runtime/scripts/utils/compss_clean_procs"

## Instruction:
Include agents as a default test family
## Code After:
from __future__ import print_function

# Imports
import os

############################################
# CONSTANTS
############################################

DEFAULT_SKIP = True
DEFAULT_NUM_RETRIES = 3
DEFAULT_FAIL_FAST = False
DEFAULT_FAMILIES = [
                    "agents",
                    "autoparallel",
                    "c",
                    "cloud",
                    "java",
                    "performance",
                    "pscos",
                    "python",
                    "tools",
                    "fault_tolerance"]
DEFAULT_TESTS = []

DEFAULT_CFG_FILE = "NIO.cfg"
DEFAULT_CFG_EXTENSION = ".cfg"
DEFAULT_COMPSS_HOME = "/opt/COMPSs/"
DEFAULT_COMM = "es.bsc.compss.nio.master.NIOAdaptor"
DEFAULT_EXECUTION_ENVS = ["python2", "python3", "python2_mpi", "python3_mpi"]

SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
TESTS_DIR = os.path.join(SCRIPT_DIR, "../sources")
CONFIGURATIONS_DIR = os.path.join(SCRIPT_DIR, "../configurations")
RUNCOMPSS_REL_PATH = "Runtime/scripts/user/runcompss"
CLEAN_PROCS_REL_PATH = "Runtime/scripts/utils/compss_clean_procs"
