diff options
author | Björn Gustavsson <[email protected]> | 2010-08-27 10:23:29 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-08-27 11:05:30 +0200 |
commit | 57f41f6da3945547436e32ef22765add14902d03 (patch) | |
tree | bedb331e9b0bb0cd962d4a6d2d4930f6aba36693 /lib/asn1/test/Makefile | |
parent | 6c00708e21bccffff84595f714cf9c1003cc8916 (diff) | |
download | otp-57f41f6da3945547436e32ef22765add14902d03.tar.gz otp-57f41f6da3945547436e32ef22765add14902d03.tar.bz2 otp-57f41f6da3945547436e32ef22765add14902d03.zip |
asn1 tests: Remove duplicated SUITE data directories
Having multiple copies is a maintenance nightmare.
Diffstat (limited to 'lib/asn1/test/Makefile')
-rw-r--r-- | lib/asn1/test/Makefile | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/lib/asn1/test/Makefile b/lib/asn1/test/Makefile index d91b77dfc5..b065db7de8 100644 --- a/lib/asn1/test/Makefile +++ b/lib/asn1/test/Makefile @@ -1,7 +1,7 @@ # # %CopyrightBegin% # -# Copyright Ericsson AB 1997-2009. All Rights Reserved. +# Copyright Ericsson AB 1997-2010. All Rights Reserved. # # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in @@ -190,23 +190,16 @@ release_spec: opt release_tests_spec: opt $(INSTALL_DIR) $(RELSYSDIR) + $(INSTALL_DIR) $(RELSYSDIR)/asn1_SUITE_data + $(INSTALL_DIR) $(RELSYSDIR)/asn1_bin_SUITE_data + $(INSTALL_DIR) $(RELSYSDIR)/asn1_bin_v2_SUITE_data $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR) $(INSTALL_DATA) asn1.spec $(INSTALL_PROGS) $(RELSYSDIR) chmod -f -R u+w $(RELSYSDIR) - @tar cfh - *_SUITE_data | (cd $(RELSYSDIR); tar xf -) + cd asn1_SUITE_data; tar cfh $(RELSYSDIR)/asn1_SUITE_data.tar * + cd $(RELSYSDIR)/asn1_SUITE_data; tar xf $(RELSYSDIR)/asn1_SUITE_data.tar + cd $(RELSYSDIR)/asn1_bin_SUITE_data; tar xf $(RELSYSDIR)/asn1_SUITE_data.tar + cd $(RELSYSDIR)/asn1_bin_v2_SUITE_data; tar xf $(RELSYSDIR)/asn1_SUITE_data.tar + rm $(RELSYSDIR)/asn1_SUITE_data.tar release_docs_spec: - - - - - - - - - - - - - - |