diff --git a/Control/AthenaConfiguration/python/testEmpty.py b/Control/AthenaConfiguration/python/testEmpty.py new file mode 100644 index 0000000000000000000000000000000000000000..e3a40667340f4a08d0f9edfe4c59137fce521a5e --- /dev/null +++ b/Control/AthenaConfiguration/python/testEmpty.py @@ -0,0 +1,14 @@ +#Generate CA pickle files from athena and CA +from AthenaCommon.Configurable import Configurable +Configurable.configurableRun3Behavior=1 +from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator +acc = ComponentAccumulator() +print "bootstrap_test.pkl" +with file("bootstrap_test.pkl", "w") as p: + acc.store( p, nEvents=10, useBootStrapFile=True, threaded=False ) + p.close() + +print "bootstrap_CA_test.pkl" +with file("bootstrap_CA_test.pkl", "w") as p: + acc.store( p, nEvents=10, useBootStrapFile=False, threaded=False ) + p.close()