Skip to content

Commit

Permalink
Merge pull request #570 from tpersson/testFixing
Browse files Browse the repository at this point in the history
This PR should fix most of the test cases for the different platforms.
  • Loading branch information
ldeniau committed Feb 15, 2018
2 parents de3f5b1 + 32f2012 commit 83128e5
Show file tree
Hide file tree
Showing 11 changed files with 70 additions and 64 deletions.
4 changes: 2 additions & 2 deletions tests/test-aperture-2/test-aperture-2.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
1-7 * skip # head
79-85 * abs=1.1e-15 # orbit finder

123 1 rel=1e-15 # energy , more digits printed on some platforms
129 1 rel=2e-15 # machine length, more digits printed on some platforms
124 1 rel=3e-15 # energy , more digits printed on some platforms
130 1 rel=2e-15 # machine length, more digits printed on some platforms

136 * abs=1e-9 # survey after ptc_twiss

Expand Down
2 changes: 1 addition & 1 deletion tests/test-cororbit-4/test-cororbit-4.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
210-211 2 abs=1.1e-16 # idem
219 2 abs=1.1e-9 # chromaticity
225 2 abs=1.1e-6 # betymax
2002 2 rel=9e-7 # iteration error
2002 2 rel=3e-6 # iteration error
2003-2006 * rel=6.0e-6 # idem
2014-2023 * rel=7.0e-7 # Twiss output
2020 3 abs=5e-8
Expand Down
1 change: 1 addition & 0 deletions tests/test-ibs-4/test-ibs-4.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
1-7 * skip # head
84 1 abs=2e-19 # sige
#76 * abs=1e-14 # alpha_x
* * abs=1e-16 # for the rest differene
1 change: 1 addition & 0 deletions tests/test-makethin-2/test-makethin-2.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
1-7 * skip # head
* * abs=1e-12
1 change: 1 addition & 0 deletions tests/test-makethin-3/test-makethin-3.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
1-7 * skip # head
* * abs=1e-12
2 changes: 1 addition & 1 deletion tests/test-ptc-twiss-2/test-ptc-twiss-2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
28-46 * rel=1e-9 # summary
48-53 * rel=1e-9 # parameters
54 1 rel=1e-14 # energy
59 1 abs=1e-10 # machine length
59-50 1 abs=1e-10 # machine length
66 * any abs=6.4e-10 rel=1e-9 # survey after - Linux 32
95-143 * any abs=5e-10 rel=5e-8 # ptc twiss summary
112 changes: 56 additions & 56 deletions tests/test-sequence-4/all_survey.ref

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/test-track-11/test-track-11.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1-7 * skip
* * any abs=1e-20 rel=1e-16
* * any abs=3e-19 rel=1e-16
487-488 * rel=3.5e-5 # closed orbit from twiss
494-512 * rel=3.4e-5 # twiss summary
515-516 * rel=3.5e-5 # closed orbit from twiss
Expand Down
3 changes: 2 additions & 1 deletion tests/test-track-rotations/test-track-rotations.ref
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
+ MAD-X 5.03.07 (64 bit, Linux) +
+ Support: mad@cern.ch, http://cern.ch/mad +
+ Release date: 2017.10.20 +
+ Execution date: 2018.02.08 17:56:48 +
+ Execution date: 2018.02.15 09:43:00 +
++++++++++++++++++++++++++++++++++++++++++++
circum=3;

Expand Down Expand Up @@ -111,6 +111,7 @@ use, sequence=seq_ptc;

ptc_create_universe;

Determined SECTOR NMUL MAX : 0
ptc_create_layout,model=2, method=6, nst=5, exact=true, closed_layout=false;

MAD-X Beam Parameters
Expand Down
3 changes: 2 additions & 1 deletion tests/test-xrotation/test-xrotation.ref
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
+ MAD-X 5.03.07 (64 bit, Linux) +
+ Support: mad@cern.ch, http://cern.ch/mad +
+ Release date: 2017.10.20 +
+ Execution date: 2018.02.08 17:54:29 +
+ Execution date: 2018.02.15 09:45:26 +
++++++++++++++++++++++++++++++++++++++++++++
circum=3;

Expand Down Expand Up @@ -164,6 +164,7 @@ select, flag=twiss, column=name, s, x,px, y, py, PT, T;

ptc_create_universe;

Determined SECTOR NMUL MAX : 0
ptc_create_layout,model=2, method=6, nst=5, exact=true, closed_layout=false;

MAD-X Beam Parameters
Expand Down
3 changes: 2 additions & 1 deletion tests/test-yrotation/test-yrotation.ref
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
+ MAD-X 5.03.07 (64 bit, Linux) +
+ Support: mad@cern.ch, http://cern.ch/mad +
+ Release date: 2017.10.20 +
+ Execution date: 2018.02.08 17:55:15 +
+ Execution date: 2018.02.15 09:44:55 +
++++++++++++++++++++++++++++++++++++++++++++
circum=3;

Expand Down Expand Up @@ -146,6 +146,7 @@ select, flag=twiss, column=name, s, x,px, y, py, PT, T;

ptc_create_universe;

Determined SECTOR NMUL MAX : 0
ptc_create_layout,model=2, method=6, nst=5, exact=true, closed_layout=false;

MAD-X Beam Parameters
Expand Down

0 comments on commit 83128e5

Please sign in to comment.